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.001422/0.001422, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001563/0.001563, allocations: 161.7 kB / 24.27 MB, free: 172 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.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 2.084e-06/2.084e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.491e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00325/0.003285, allocations: 1.518 MB / 273.8 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000503/0.003788, allocations: 139.5 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.003868, allocations: 0 / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.003923, allocations: 3.938 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.00406, allocations: 4 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.004329, allocations: 47.7 kB / 274 MB, free: 88 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.004438, allocations: 23.94 kB / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004538, allocations: 11.98 kB / 274.1 MB, free: 52 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.004595, allocations: 15.92 kB / 274.1 MB, free: 36 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.004626, allocations: 4 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.004647, allocations: 4 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.004656, allocations: 0 / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.004711, allocations: 19.91 kB / 274.1 MB, free: 8 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.004743, allocations: 8 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.004883, allocations: 35.95 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004885, allocations: 0 / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004886, allocations: 4 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.00489, allocations: 0 / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005044/0.005394, allocations: 282.1 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.005432, allocations: 8.031 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.005488, allocations: 12.92 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.006074, allocations: 140.2 kB / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.006098, allocations: 4.375 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.006111, allocations: 4.375 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.006386, allocations: 89.61 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006397, allocations: 4.188 kB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.006405, allocations: 384 / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.00641, allocations: 384 / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.503e-05/0.006475, allocations: 15.94 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.006819, allocations: 201.5 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.006911, allocations: 37.16 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.006961, allocations: 21.77 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.00698, allocations: 4 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.007015, allocations: 34.56 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.007016, allocations: 0 / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002544/0.007271, allocations: 61.52 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.00735, allocations: 81.05 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.007501, allocations: 133.8 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.007523, allocations: 25.7 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.007589, allocations: 88.12 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.007596, allocations: 0 / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.007638, allocations: 21.92 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.007832, allocations: 318.8 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.007859, allocations: 0 / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.00788, allocations: 7.984 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.007927, allocations: 12.86 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.00793, allocations: 0 / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.434e-05/0.008024, allocations: 45.62 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.008039, allocations: 4 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.008047, allocations: 4.031 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.00806, allocations: 4 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-05/0.008074, allocations: 0 / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.008081, allocations: 7.984 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.008106, allocations: 4 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.00811, allocations: 0 / 275.8 MB, free: 14.11 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 (sample1.u) * 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.0001262/0.008236, allocations: 121.8 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.008306, allocations: 37.66 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.008342, allocations: 15.41 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008343, allocations: 0 / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.008348, allocations: 4.031 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008351, allocations: 0 / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.008521, allocations: 113.3 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.008525, allocations: 3.984 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.008537, allocations: 7.938 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008539, allocations: 0 / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.008545, allocations: 0 / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.008549, allocations: 3.938 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008551, allocations: 0 / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.008739, allocations: 148.4 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.008774, allocations: 23.97 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.008787, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.008847, allocations: 7.938 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.008885, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.008889, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.008985, allocations: 105.8 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008985, allocations: 3.938 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.009221, allocations: 4 kB / 276.4 MB, free: 13.46 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: 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.0001245/0.009346, allocations: 95.23 kB / 276.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.009453, allocations: 20 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009455, allocations: 0 / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.009484, allocations: 7.984 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.009811, allocations: 16.25 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.01019, allocations: 148.9 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.01028, allocations: 67.34 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.837e-05/0.01029, allocations: 0 / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.01032, allocations: 12.72 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01033, allocations: 4 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of Templates: time 0.003112/0.01344, allocations: 486.2 kB / 277.2 MB, free: 12.57 MB / 266.7 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/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_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: 4.23169370694086]