Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 55.91 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.23, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002876/0.2329, allocations: 1.539 MB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.2333, allocations: 139.4 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.2333, allocations: 4 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.522e-05/0.2334, allocations: 7.922 kB / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.2335, allocations: 7.938 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2337, allocations: 43.83 kB / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.897e-05/0.2338, allocations: 39.86 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.2339, allocations: 15.78 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.2339, allocations: 19.92 kB / 434.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.234, allocations: 15.92 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.234, allocations: 0 / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.234, allocations: 4 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.2341, allocations: 19.92 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2341, allocations: 19.81 kB / 434.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2342, allocations: 63.33 kB / 434.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2342, allocations: 4 kB / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2342, allocations: 0 / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.2342, allocations: 0 / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004438/0.2347, allocations: 297.2 kB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2347, allocations: 8.031 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.2347, allocations: 12.89 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.235, allocations: 134.4 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.235, allocations: 8.359 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.235, allocations: 384 / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.2353, allocations: 122.5 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2353, allocations: 192 / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2353, allocations: 3.938 kB / 434.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.2354, allocations: 11.98 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.2355, allocations: 27.92 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.2358, allocations: 305.5 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.236, allocations: 71.84 kB / 435.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.236, allocations: 38.5 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.2361, allocations: 0 / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2361, allocations: 38.56 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2361, allocations: 4 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000298/0.2364, allocations: 89.56 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.2365, allocations: 110.7 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2366, allocations: 136.8 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2366, allocations: 29.7 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.2367, allocations: 84.14 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.2367, allocations: 7.953 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.2367, allocations: 26.08 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2369, allocations: 314.8 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.2369, allocations: 15.98 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.237, allocations: 39.42 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.2371, allocations: 47.36 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.2371, allocations: 4 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001561/0.2372, allocations: 85.44 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2373, allocations: 8 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2373, allocations: 0 / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2373, allocations: 0 / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.2373, allocations: 7.938 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2373, allocations: 3.938 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.2373, allocations: 7.984 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.2373, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.2374, allocations: 133.8 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.2375, allocations: 53.64 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2376, allocations: 11.92 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.2376, allocations: 11.98 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2376, allocations: 0 / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2376, allocations: 4.031 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2378, allocations: 113.3 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2378, allocations: 7.922 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.2378, allocations: 0 / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2378, allocations: 4 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2378, allocations: 0 / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2378, allocations: 8.016 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2378, allocations: 0 / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.2381, allocations: 255.6 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.2381, allocations: 19.88 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2381, allocations: 7.938 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.2382, allocations: 0 / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.2383, allocations: 4 kB / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2383, allocations: 0 / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.118e-05/0.2384, allocations: 107.2 kB / 437 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2384, allocations: 4 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.2386, allocations: 8 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001114/0.2387, allocations: 99.25 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.2389, allocations: 39.91 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2389, allocations: 0 / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.2389, allocations: 15.98 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2393, allocations: 31.17 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.2397, allocations: 204.9 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.587e-05/0.2398, allocations: 79.33 kB / 437.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.2398, allocations: 11.44 kB / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2398, allocations: 0 / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of Templates: time 0.002364/0.2421, allocations: 0.8179 MB / 438.3 MB, free: 328 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.727680195122957]