Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 81.73 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 147.2 kB / 23.94 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0.6094 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.528e-05, allocations: 3.75 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002201/0.002226, allocations: 1.493 MB / 320.4 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.002572, allocations: 140.2 kB / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.002641, allocations: 0.9375 kB / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.002685, allocations: 4.453 kB / 320.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.002795, allocations: 11.38 kB / 320.6 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.003025, allocations: 39.64 kB / 320.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.003109, allocations: 26.5 kB / 320.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.003194, allocations: 5.844 kB / 320.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.003237, allocations: 12.72 kB / 320.7 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.295e-05/0.00327, allocations: 12.44 kB / 320.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003288, allocations: 6.781 kB / 320.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003298, allocations: 2.625 kB / 320.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.003338, allocations: 14.22 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.00336, allocations: 11.19 kB / 320.7 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.337e-05/0.003453, allocations: 36.88 kB / 320.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.003457, allocations: 1.703 kB / 320.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003458, allocations: 0 / 320.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.003461, allocations: 0 / 320.7 MB, free: 2.359 MB / 286.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.0003152/0.003776, allocations: 284.9 kB / 321 MB, free: 2.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.00381, allocations: 11.06 kB / 321 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.003843, allocations: 11.83 kB / 321 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.004005, allocations: 132.4 kB / 321.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.004024, allocations: 1.562 kB / 321.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.004034, allocations: 6.469 kB / 321.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.004221, allocations: 90.45 kB / 321.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.004231, allocations: 4.188 kB / 321.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.004239, allocations: 384 / 321.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.004243, allocations: 1.344 kB / 321.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.004297, allocations: 21.52 kB / 321.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.004513, allocations: 201.9 kB / 321.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.004574, allocations: 42.11 kB / 321.5 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.004606, allocations: 17.31 kB / 321.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.004625, allocations: 1.094 kB / 321.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.004641, allocations: 33.59 kB / 321.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004642, allocations: 0 / 321.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.004826, allocations: 65.62 kB / 321.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.004859, allocations: 83.06 kB / 321.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.00495, allocations: 131.5 kB / 321.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.004956, allocations: 25.7 kB / 321.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.004981, allocations: 86.17 kB / 322 MB, free: 1.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.004988, allocations: 1.312 kB / 322 MB, free: 1.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.005014, allocations: 17.19 kB / 322 MB, free: 1.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.00505, allocations: 317.5 kB / 322.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.005076, allocations: 4.375 kB / 322.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.005094, allocations: 3.625 kB / 322.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.005135, allocations: 20.64 kB / 322.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.005136, allocations: 0 / 322.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.954e-05/0.005206, allocations: 41.69 kB / 322.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005219, allocations: 5 kB / 322.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.005223, allocations: 4.688 kB / 322.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.005237, allocations: 1.375 kB / 322.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.3e-05/0.00525, allocations: 3.984 kB / 322.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.005254, allocations: 0.6094 kB / 322.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.005276, allocations: 2.094 kB / 322.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005281, allocations: 9.375 kB / 322.4 MB, free: 0.7266 MB / 286.1 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 4.789e-05/0.005329, allocations: 115.9 kB / 322.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.005377, allocations: 36.39 kB / 322.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.005402, allocations: 16.34 kB / 322.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005404, allocations: 1.156 kB / 322.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.005408, allocations: 0 / 322.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.00541, allocations: 5.484 kB / 322.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.739e-05/0.005508, allocations: 110 kB / 322.7 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005509, allocations: 0 / 322.7 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-06/0.005515, allocations: 5.734 kB / 322.7 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005517, allocations: 1.062 kB / 322.7 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.005523, allocations: 5.031 kB / 322.7 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.005526, allocations: 5.938 kB / 322.7 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005527, allocations: 0 / 322.7 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.005629, allocations: 149.1 kB / 322.8 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.00566, allocations: 11.48 kB / 322.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.005673, allocations: 1.062 kB / 322.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.00573, allocations: 9.75 kB / 322.8 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.005754, allocations: 2.344 kB / 322.8 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.005758, allocations: 5.125 kB / 322.9 MB, free: 264 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.005804, allocations: 110.3 kB / 323 MB, free: 176 kB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.005805, allocations: 1.219 kB / 323 MB, free: 176 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.006024, allocations: 2.125 kB / 323 MB, free: 176 kB / 286.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 6.695e-05/0.006091, allocations: 100.3 kB / 323.1 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.006188, allocations: 14.27 kB / 323.1 MB, free: 80 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00619, allocations: 0 / 323.1 MB, free: 80 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.006215, allocations: 5.688 kB / 323.1 MB, free: 80 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.006529, allocations: 22.84 kB / 323.1 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.006818, allocations: 139.7 kB / 323.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.293e-05/0.006891, allocations: 68.81 kB / 323.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.006908, allocations: 1.969 kB / 323.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.006933, allocations: 10.75 kB / 323.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.006933, allocations: 0 / 323.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of Templates: time 0.002934/0.009867, allocations: 485.2 kB / 323.8 MB, free: 15.76 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.182592771947384]