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.001302/0.001302, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.007136/0.007136, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8597/0.8597, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.52e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001918/0.001944, allocations: 1.542 MB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.002273, allocations: 135.5 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.002344, allocations: 3.938 kB / 327.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.002384, allocations: 3.938 kB / 327.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.002502, allocations: 7.984 kB / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.002714, allocations: 35.78 kB / 327.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.002802, allocations: 35.91 kB / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.002891, allocations: 15.98 kB / 327.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.002932, allocations: 19.92 kB / 327.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.519e-05/0.002957, allocations: 8 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.002978, allocations: 4 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.002986, allocations: 3.938 kB / 327.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.003033, allocations: 19.91 kB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.003057, allocations: 7.938 kB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003158, allocations: 47.86 kB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.003161, allocations: 7.938 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003162, allocations: 0 / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003165, allocations: 0 / 327.7 MB, free: 13.52 MB / 298.7 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.0003331/0.003498, allocations: 289 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.003533, allocations: 16.02 kB / 328 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.003568, allocations: 4.891 kB / 328 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.003749, allocations: 125.7 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.003769, allocations: 8.312 kB / 328.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.003777, allocations: 384 / 328.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.003991, allocations: 113.6 kB / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003999, allocations: 4.125 kB / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004007, allocations: 4.375 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004011, allocations: 384 / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.004048, allocations: 19.92 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.004279, allocations: 209.3 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.004381, allocations: 53.2 kB / 328.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.004418, allocations: 33.7 kB / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.004434, allocations: 0 / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.004449, allocations: 34.56 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.00445, allocations: 0 / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001665/0.004617, allocations: 73.55 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.004659, allocations: 81.11 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.004738, allocations: 136.5 kB / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.004747, allocations: 25.7 kB / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.004784, allocations: 88.14 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.004791, allocations: 0 / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.004818, allocations: 25.64 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.004889, allocations: 310.8 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.004907, allocations: 8.125 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.004916, allocations: 0 / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.004946, allocations: 24.78 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.004948, allocations: 0 / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.706e-05/0.004995, allocations: 37.66 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.005009, allocations: 11.98 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.005014, allocations: 3.938 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005025, allocations: 0 / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-06/0.005032, allocations: 4.094 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.005037, allocations: 0 / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.005048, allocations: 0 / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.005052, allocations: 0 / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.782e-05/0.00511, allocations: 117.8 kB / 329.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.005149, allocations: 49.77 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.005174, allocations: 15.98 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.005177, allocations: 3.984 kB / 329.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.005183, allocations: 7.984 kB / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.005185, allocations: 0 / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.918e-05/0.005274, allocations: 113.3 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.005276, allocations: 4 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-06/0.005281, allocations: 0 / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.005283, allocations: 4 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.005289, allocations: 0 / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.005291, allocations: 3.938 kB / 329.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005292, allocations: 3.938 kB / 329.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.005386, allocations: 164.3 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.005409, allocations: 12 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.005423, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.005457, allocations: 7.922 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.005481, allocations: 8 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.005484, allocations: 0 / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.005525, allocations: 103.3 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005525, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.005664, allocations: 7.953 kB / 330 MB, free: 10.92 MB / 298.7 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 7.421e-05/0.005738, allocations: 103.2 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.005811, allocations: 11.98 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005812, allocations: 0 / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.005827, allocations: 19.98 kB / 330.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.006042, allocations: 16.03 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.006286, allocations: 179.8 kB / 330.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.361e-05/0.006339, allocations: 75.58 kB / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.006362, allocations: 8.5 kB / 330.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.006362, allocations: 0 / 330.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Templates: time 0.001431/0.007793, allocations: 0.6757 MB / 331.1 MB, free: 9.777 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/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: 4.161094143986702]