Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001525/0.001525, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00168/0.00168, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 47.92 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.239, allocations: 53.37 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002858/0.2419, allocations: 1.524 MB / 433.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004039/0.2423, allocations: 139.5 kB / 434.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.2424, allocations: 7.938 kB / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.2424, allocations: 3.938 kB / 434.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.2426, allocations: 7.922 kB / 434.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.2428, allocations: 39.91 kB / 434.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2429, allocations: 31.92 kB / 434.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.243, allocations: 19.91 kB / 434.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.243, allocations: 8 kB / 434.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.2431, allocations: 19.86 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2431, allocations: 4 kB / 434.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.2431, allocations: 0 / 434.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.2431, allocations: 11.94 kB / 434.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.2432, allocations: 19.86 kB / 434.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2433, allocations: 51.55 kB / 434.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2433, allocations: 0 / 434.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2433, allocations: 0 / 434.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.2433, allocations: 4 kB / 434.3 MB, free: 5.012 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.000428/0.2437, allocations: 295.4 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2438, allocations: 8.031 kB / 434.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2438, allocations: 8.891 kB / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.244, allocations: 134.4 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.244, allocations: 384 / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.2441, allocations: 8.375 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2443, allocations: 117.6 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2443, allocations: 192 / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2443, allocations: 3.938 kB / 434.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2444, allocations: 0 / 434.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.2444, allocations: 23.92 kB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.2447, allocations: 228.8 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2449, allocations: 69.06 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.2449, allocations: 25.77 kB / 435.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.2449, allocations: 4 kB / 435.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.245, allocations: 34.56 kB / 435.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.245, allocations: 0 / 435.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002174/0.2452, allocations: 69.56 kB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2452, allocations: 85.11 kB / 435.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2454, allocations: 132.7 kB / 435.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2454, allocations: 33.83 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.2455, allocations: 84.14 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.2455, allocations: 3.938 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2455, allocations: 21.7 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2457, allocations: 314.8 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.2457, allocations: 8 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.2457, allocations: 39.42 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.2458, allocations: 43.3 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.2458, allocations: 4 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001169/0.2459, allocations: 65.61 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.246, allocations: 8 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.246, allocations: 0 / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.246, allocations: 3.938 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.369e-05/0.246, allocations: 4 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.246, allocations: 3.938 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.246, allocations: 4 kB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.246, allocations: 0 / 436.1 MB, free: 2.926 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 9.784e-05/0.2461, allocations: 129.7 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.2462, allocations: 45.69 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.2462, allocations: 15.98 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2462, allocations: 0 / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2462, allocations: 0 / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2462, allocations: 4 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2464, allocations: 140.7 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2464, allocations: 0 / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.2464, allocations: 3.938 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2464, allocations: 4 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2464, allocations: 0 / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2464, allocations: 0 / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2464, allocations: 4 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.2466, allocations: 164.3 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.2466, allocations: 15.95 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2467, allocations: 3.984 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.2467, allocations: 384 / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2467, allocations: 0 / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.2467, allocations: 8 kB / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.235e-05/0.2468, allocations: 99.27 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2468, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.247, allocations: 4 kB / 436.8 MB, free: 2.211 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.523e-05/0.2471, allocations: 111.2 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2473, allocations: 27.97 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2473, allocations: 256 / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.2473, allocations: 11.94 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.2476, allocations: 30.23 kB / 436.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.2479, allocations: 175.5 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2483, allocations: 0.6924 MB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.2483, allocations: 7.438 kB / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2483, allocations: 0 / 437.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of Templates: time 0.002151/0.2505, allocations: 0.6861 MB / 438.5 MB, free: 424 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.446806113934144]