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.002429/0.002429, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002819/0.002819, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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 1.423e-06/1.423e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.586e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002952/0.002978, allocations: 1.537 MB / 273.9 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004133/0.003391, allocations: 143.5 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.003454, allocations: 3.938 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.641e-05/0.003511, allocations: 7.922 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.003621, allocations: 0 / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.00384, allocations: 43.72 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.984e-05/0.003939, allocations: 35.91 kB / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.004016, allocations: 8 kB / 274.1 MB, free: 76 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.004077, allocations: 27.91 kB / 274.1 MB, free: 48 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.004105, allocations: 7.984 kB / 274.1 MB, free: 40 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004126, allocations: 4 kB / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.004135, allocations: 0 / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.004179, allocations: 11.94 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.004213, allocations: 15.92 kB / 274.2 MB, free: 8 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.004342, allocations: 43.89 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004344, allocations: 0 / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004344, allocations: 0 / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004348, allocations: 4 kB / 274.2 MB, free: 15.96 MB / 266.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.0005237/0.004872, allocations: 396.1 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.004906, allocations: 8.031 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.004949, allocations: 8.891 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.005162, allocations: 143.6 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.005183, allocations: 4.375 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.005193, allocations: 4.375 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.00549, allocations: 124.9 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.0055, allocations: 192 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.005507, allocations: 384 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.005511, allocations: 384 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.005589, allocations: 27.86 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.005926, allocations: 267.5 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.006106, allocations: 74.11 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.006178, allocations: 31.44 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.006197, allocations: 0 / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.006228, allocations: 41.39 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.006229, allocations: 4 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002593/0.006488, allocations: 73.55 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.006559, allocations: 77.11 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.006743, allocations: 205.8 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.006763, allocations: 25.7 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.006852, allocations: 134.8 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.006861, allocations: 4 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.006905, allocations: 23.36 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.007166, allocations: 0.4924 MB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.007197, allocations: 4 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.007217, allocations: 4 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.007268, allocations: 19.67 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007269, allocations: 0 / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.007377, allocations: 45.64 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007391, allocations: 4 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.007397, allocations: 3.938 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007409, allocations: 96 / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-06/0.007416, allocations: 4 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.007427, allocations: 7.938 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.007448, allocations: 0 / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.007452, allocations: 0 / 276.4 MB, free: 13.48 MB / 266.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 0.0001194/0.007572, allocations: 160.6 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.007658, allocations: 49.64 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.00769, allocations: 12.17 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.007694, allocations: 4 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.007697, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.007701, allocations: 3.984 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.008105, allocations: 140.6 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.008107, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.008115, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008117, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008126, allocations: 4 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.00813, allocations: 3.938 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.008133, allocations: 3.938 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.008382, allocations: 215.6 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.008418, allocations: 11.98 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.00843, allocations: 0 / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.008489, allocations: 11.94 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.008522, allocations: 3.984 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.008525, allocations: 0 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.00863, allocations: 147.2 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00863, allocations: 3.938 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.008847, allocations: 7.953 kB / 277.2 MB, free: 12.64 MB / 266.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 0.0001014/0.008949, allocations: 91.25 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009077, allocations: 31.61 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.009079, allocations: 4.062 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.009114, allocations: 11.69 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.009447, allocations: 23.67 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.009794, allocations: 160.8 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.334e-05/0.009878, allocations: 71.33 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.009894, allocations: 0 / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.009921, allocations: 12.5 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009921, allocations: 0 / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Templates: time 0.003235/0.01316, allocations: 0.5177 MB / 278.1 MB, free: 11.66 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] 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.492656191927381]