Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001843/0.001843, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002247/0.002247, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.275, allocations: 53.42 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003281/0.2783, allocations: 1.508 MB / 433.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.2788, allocations: 135.5 kB / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.2789, allocations: 7.938 kB / 433.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.279, allocations: 3.984 kB / 433.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2791, allocations: 3.938 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2794, allocations: 39.86 kB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2795, allocations: 31.91 kB / 433.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2796, allocations: 11.98 kB / 433.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.2796, allocations: 7.938 kB / 433.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.2797, allocations: 15.92 kB / 433.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2797, allocations: 4 kB / 433.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.2797, allocations: 0 / 433.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.2798, allocations: 11.94 kB / 433.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.2798, allocations: 11.88 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2799, allocations: 51.55 kB / 433.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2799, allocations: 0 / 433.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2799, allocations: 0 / 433.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2799, allocations: 4 kB / 433.5 MB, free: 4.684 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004926/0.2804, allocations: 284.5 kB / 433.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2805, allocations: 11.98 kB / 433.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.2805, allocations: 8.891 kB / 433.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.2808, allocations: 130.4 kB / 433.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2808, allocations: 4.375 kB / 433.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2808, allocations: 4.375 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.2811, allocations: 85.67 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2811, allocations: 4.125 kB / 434 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2812, allocations: 3.938 kB / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2812, allocations: 0 / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.2812, allocations: 15.98 kB / 434 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.2816, allocations: 205.5 kB / 434.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2817, allocations: 45.14 kB / 434.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.2818, allocations: 13.78 kB / 434.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2818, allocations: 7.938 kB / 434.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2818, allocations: 34.56 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2818, allocations: 0 / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002449/0.2821, allocations: 65.52 kB / 434.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.2821, allocations: 85.09 kB / 434.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2823, allocations: 129.8 kB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2823, allocations: 29.7 kB / 434.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.2824, allocations: 80.14 kB / 434.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.2824, allocations: 3.953 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.2824, allocations: 17.97 kB / 434.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.2826, allocations: 322.8 kB / 435 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.2827, allocations: 4 kB / 435 MB, free: 2.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.2827, allocations: 17.72 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.2828, allocations: 21.7 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2828, allocations: 0 / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001357/0.2829, allocations: 49.58 kB / 435.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2829, allocations: 8.109 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2829, allocations: 4 kB / 435.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2829, allocations: 4 kB / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.569e-05/0.2829, allocations: 0 / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.283, allocations: 0 / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.283, allocations: 0 / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.283, allocations: 4 kB / 435.1 MB, free: 2.801 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000101/0.2831, allocations: 117.8 kB / 435.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.2832, allocations: 53.52 kB / 435.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.2832, allocations: 7.422 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2832, allocations: 4.031 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2832, allocations: 4 kB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2832, allocations: 0 / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2834, allocations: 109.3 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2834, allocations: 3.984 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.2834, allocations: 0 / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.2834, allocations: 11.92 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2834, allocations: 4 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2834, allocations: 0 / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2834, allocations: 0 / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.2836, allocations: 160.3 kB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.2836, allocations: 15.89 kB / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2836, allocations: 7.984 kB / 435.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.2837, allocations: 3.938 kB / 435.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.2837, allocations: 0 / 435.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2837, allocations: 4 kB / 435.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.303e-05/0.2838, allocations: 102.5 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2838, allocations: 0 / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.284, allocations: 4 kB / 435.7 MB, free: 2.133 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001184/0.2841, allocations: 103.3 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.2843, allocations: 15.94 kB / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2843, allocations: 0 / 435.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.2843, allocations: 4 kB / 435.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.2847, allocations: 22.7 kB / 435.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.2851, allocations: 142.4 kB / 436 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.2852, allocations: 71.28 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.2853, allocations: 4.281 kB / 436.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.2853, allocations: 11.38 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2853, allocations: 0 / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of Templates: time 0.003258/0.2886, allocations: 488.4 kB / 436.6 MB, free: 1.242 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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: 4.656956410035491]