Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007742/0.007742, allocations: 103.3 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 259 MB, free: 8.012 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2569, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002847/0.2597, allocations: 1.528 MB / 434.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.2601, allocations: 139.5 kB / 434.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.2602, allocations: 4 kB / 434.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.321e-05/0.2602, allocations: 11.88 kB / 434.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.2604, allocations: 11.91 kB / 434.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.2606, allocations: 35.86 kB / 434.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2607, allocations: 35.91 kB / 434.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2608, allocations: 19.72 kB / 434.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.2609, allocations: 8 kB / 435 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.2609, allocations: 19.86 kB / 435 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2609, allocations: 4 kB / 435 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.2609, allocations: 0 / 435 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.261, allocations: 11.92 kB / 435 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.261, allocations: 27.88 kB / 435 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2611, allocations: 39.81 kB / 435.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2611, allocations: 0 / 435.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2611, allocations: 0 / 435.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2611, allocations: 4 kB / 435.1 MB, free: 5.066 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.0004635/0.2616, allocations: 288.5 kB / 435.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2616, allocations: 12.03 kB / 435.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.2617, allocations: 4.891 kB / 435.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.2619, allocations: 142.4 kB / 435.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2619, allocations: 384 / 435.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.2619, allocations: 4.375 kB / 435.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2622, allocations: 113.6 kB / 435.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2622, allocations: 192 / 435.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2622, allocations: 11.94 kB / 435.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2622, allocations: 4 kB / 435.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.2623, allocations: 15.92 kB / 435.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.2626, allocations: 228.9 kB / 435.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2628, allocations: 65.08 kB / 435.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.2628, allocations: 25.77 kB / 436 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2629, allocations: 0 / 436 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2629, allocations: 34.56 kB / 436 MB, free: 3.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2629, allocations: 0 / 436 MB, free: 3.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000231/0.2631, allocations: 73.56 kB / 436.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.2632, allocations: 81.23 kB / 436.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2633, allocations: 132.8 kB / 436.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2633, allocations: 25.7 kB / 436.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.2634, allocations: 92.08 kB / 436.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.2634, allocations: 7.922 kB / 436.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.2634, allocations: 17.72 kB / 436.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2636, allocations: 310.8 kB / 436.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.2636, allocations: 15.98 kB / 436.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.2637, allocations: 35.38 kB / 436.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/0.2637, allocations: 47.3 kB / 436.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2637, allocations: 4 kB / 436.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.2638, allocations: 65.52 kB / 436.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2639, allocations: 8 kB / 436.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2639, allocations: 288 / 436.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2639, allocations: 0 / 436.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.116e-05/0.2639, allocations: 4 kB / 436.9 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2639, allocations: 0 / 436.9 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.2639, allocations: 4 kB / 436.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.2639, allocations: 4.109 kB / 436.9 MB, free: 2.992 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 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.0001006/0.264, allocations: 129.7 kB / 437 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.2641, allocations: 49.62 kB / 437.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.2641, allocations: 12 kB / 437.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2642, allocations: 0 / 437.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2642, allocations: 4 kB / 437.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2642, allocations: 0 / 437.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2643, allocations: 140.7 kB / 437.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2643, allocations: 0 / 437.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.2643, allocations: 4 kB / 437.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2643, allocations: 4 kB / 437.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2644, allocations: 0 / 437.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2644, allocations: 0 / 437.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2644, allocations: 0 / 437.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.2645, allocations: 168.2 kB / 437.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.2646, allocations: 19.94 kB / 437.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2646, allocations: 4 kB / 437.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.2646, allocations: 0 / 437.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2647, allocations: 4 kB / 437.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.2647, allocations: 0 / 437.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.2647, allocations: 99.27 kB / 437.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2647, allocations: 4 kB / 437.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.265, allocations: 4 kB / 437.5 MB, free: 2.273 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001062/0.2651, allocations: 95.23 kB / 437.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2652, allocations: 31.92 kB / 437.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2652, allocations: 0 / 437.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.2652, allocations: 8 kB / 437.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2655, allocations: 42.52 kB / 437.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.2659, allocations: 176.1 kB / 437.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2662, allocations: 0.6849 MB / 438.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.2662, allocations: 11.44 kB / 438.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2662, allocations: 0 / 438.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of Templates: time 0.002272/0.2685, allocations: 0.6902 MB / 439.3 MB, free: 488 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 7.077341619879007]