Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001492/0.001492, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001683/0.001683, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 51.92 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2275, allocations: 53.35 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002724/0.2302, allocations: 1.523 MB / 433.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.2306, allocations: 139.5 kB / 434 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.2306, allocations: 4 kB / 434 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.609e-05/0.2307, allocations: 7.938 kB / 434.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.2308, allocations: 3.938 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.231, allocations: 39.89 kB / 434.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.2311, allocations: 27.86 kB / 434.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.2312, allocations: 8 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.2312, allocations: 8 kB / 434.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.44e-05/0.2313, allocations: 19.86 kB / 434.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2313, allocations: 7.938 kB / 434.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.2313, allocations: 0 / 434.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.2313, allocations: 4 kB / 434.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2314, allocations: 31.8 kB / 434.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.914e-05/0.2315, allocations: 35.62 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2315, allocations: 4 kB / 434.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2315, allocations: 0 / 434.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.2315, allocations: 0 / 434.2 MB, free: 5.094 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.0004113/0.2319, allocations: 283.5 kB / 434.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2319, allocations: 11.97 kB / 434.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.2319, allocations: 8.891 kB / 434.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.2322, allocations: 134.4 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2322, allocations: 4.375 kB / 434.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.2322, allocations: 384 / 434.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.2324, allocations: 89.61 kB / 434.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2324, allocations: 192 / 434.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2324, allocations: 3.938 kB / 434.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2324, allocations: 0 / 434.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.2325, allocations: 15.98 kB / 434.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.2328, allocations: 232.8 kB / 435 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.2329, allocations: 41.2 kB / 435 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.2329, allocations: 21.72 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.2329, allocations: 4 kB / 435.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2329, allocations: 34.5 kB / 435.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.2329, allocations: 3.984 kB / 435.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.2331, allocations: 57.58 kB / 435.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.2332, allocations: 81.3 kB / 435.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.2333, allocations: 137.8 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2333, allocations: 25.7 kB / 435.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.2334, allocations: 88.12 kB / 435.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.2334, allocations: 3.953 kB / 435.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.2334, allocations: 17.72 kB / 435.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2336, allocations: 310.8 kB / 435.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.2336, allocations: 7.984 kB / 435.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.2336, allocations: 21.72 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.2337, allocations: 21.66 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2337, allocations: 0 / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.598e-05/0.2338, allocations: 49.62 kB / 435.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2338, allocations: 10.5 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2338, allocations: 0 / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2338, allocations: 4.125 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.604e-05/0.2338, allocations: 11.86 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.2338, allocations: 0 / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.2338, allocations: 8 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2338, allocations: 0 / 435.9 MB, free: 3.16 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 9.012e-05/0.2339, allocations: 117.8 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.234, allocations: 41.64 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.234, allocations: 15.42 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.234, allocations: 4.031 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.234, allocations: 0 / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.234, allocations: 0 / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.2342, allocations: 136.7 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2342, allocations: 0 / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.2342, allocations: 4 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2342, allocations: 0 / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.2342, allocations: 0 / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2342, allocations: 3.938 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2342, allocations: 0 / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.2344, allocations: 160.3 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.2344, allocations: 15.94 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.2344, allocations: 4 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.2345, allocations: 0 / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.2345, allocations: 3.938 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.2345, allocations: 4 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.2346, allocations: 102.4 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2346, allocations: 4 kB / 436.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2348, allocations: 8 kB / 436.6 MB, free: 2.469 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 9.327e-05/0.2349, allocations: 95.25 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.235, allocations: 11.94 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.235, allocations: 0 / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.235, allocations: 11.98 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2353, allocations: 22.84 kB / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.2356, allocations: 172.1 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2359, allocations: 0.6846 MB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.236, allocations: 15.44 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.236, allocations: 0 / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Templates: time 0.001955/0.2379, allocations: 0.6238 MB / 438.2 MB, free: 0.7734 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.483377216849476]