Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001339/0.001339, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001467/0.001467, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 258.1 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 63.84 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2556, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002909/0.2585, allocations: 1.524 MB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.2589, allocations: 135.5 kB / 434 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.259, allocations: 3.938 kB / 434.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.259, allocations: 3.938 kB / 434.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2591, allocations: 11.94 kB / 434.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.2593, allocations: 35.91 kB / 434.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.2594, allocations: 39.84 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.2595, allocations: 15.78 kB / 434.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.2595, allocations: 11.94 kB / 434.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.845e-05/0.2596, allocations: 11.92 kB / 434.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2596, allocations: 0 / 434.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.2596, allocations: 4 kB / 434.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.2597, allocations: 11.94 kB / 434.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2597, allocations: 19.86 kB / 434.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2598, allocations: 47.47 kB / 434.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2598, allocations: 4 kB / 434.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2598, allocations: 0 / 434.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.2598, allocations: 0 / 434.3 MB, free: 4.617 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.0004212/0.2602, allocations: 285.3 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2603, allocations: 11.98 kB / 434.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.2603, allocations: 12.83 kB / 434.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.2605, allocations: 142.3 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2605, allocations: 384 / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2605, allocations: 8.375 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.2608, allocations: 117.6 kB / 434.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2608, allocations: 192 / 434.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2608, allocations: 3.938 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2608, allocations: 4 kB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.2609, allocations: 15.92 kB / 434.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.2611, allocations: 205.4 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2613, allocations: 57.14 kB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.2613, allocations: 25.77 kB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.2614, allocations: 7.938 kB / 435.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2614, allocations: 34.56 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2614, allocations: 3.938 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002103/0.2616, allocations: 73.56 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.2617, allocations: 81.11 kB / 435.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2618, allocations: 133.1 kB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2618, allocations: 29.64 kB / 435.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.2619, allocations: 88.27 kB / 435.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.2619, allocations: 7.938 kB / 435.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.2619, allocations: 25.66 kB / 435.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.262, allocations: 310.8 kB / 435.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.2621, allocations: 11.98 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.2621, allocations: 27.62 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.2622, allocations: 43.36 kB / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2622, allocations: 4 kB / 436 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.2623, allocations: 65.66 kB / 436.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2623, allocations: 4 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.2623, allocations: 3.984 kB / 436.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2623, allocations: 4 kB / 436.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-06/0.2624, allocations: 0 / 436.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2624, allocations: 3.938 kB / 436.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.2624, allocations: 7.938 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.2624, allocations: 4.125 kB / 436.1 MB, free: 2.566 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 8.695e-05/0.2625, allocations: 121.8 kB / 436.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.2626, allocations: 53.58 kB / 436.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2626, allocations: 8 kB / 436.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2626, allocations: 4 kB / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2626, allocations: 0 / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2626, allocations: 0 / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.2627, allocations: 109.3 kB / 436.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2627, allocations: 4 kB / 436.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.2627, allocations: 4 kB / 436.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2627, allocations: 7.938 kB / 436.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.2628, allocations: 3.938 kB / 436.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2628, allocations: 3.984 kB / 436.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2628, allocations: 0 / 436.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.2629, allocations: 160.4 kB / 436.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.263, allocations: 19.88 kB / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.263, allocations: 0 / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.263, allocations: 4 kB / 436.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2631, allocations: 0 / 436.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2631, allocations: 0 / 436.6 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.798e-05/0.2631, allocations: 111.2 kB / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2631, allocations: 0 / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.2634, allocations: 7.938 kB / 436.7 MB, free: 1.883 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 9.765e-05/0.2635, allocations: 103.2 kB / 436.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.2636, allocations: 23.98 kB / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2636, allocations: 0 / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.2636, allocations: 7.938 kB / 436.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.264, allocations: 19.08 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.2643, allocations: 188 kB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.15e-05/0.2644, allocations: 75.33 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.2644, allocations: 7.438 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2644, allocations: 0 / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Templates: time 0.002119/0.2665, allocations: 0.6842 MB / 437.8 MB, free: 0.7227 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.724053062032908]