Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001939/0.001939, allocations: 99.86 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.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.001921/0.001921, allocations: 145.1 kB / 24.26 MB, free: 164 kB / 18.57 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.505/1.505, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.547e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003772/0.003798, allocations: 1.897 MB / 269.2 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.006084, allocations: 1.021 MB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.00619, allocations: 3.938 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.006883, allocations: 155.4 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.007218, allocations: 119.5 kB / 270.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.007805, allocations: 203.2 kB / 270.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.008101, allocations: 191.4 kB / 270.9 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.008206, allocations: 17.81 kB / 270.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.008377, allocations: 95.78 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.008509, allocations: 63.8 kB / 271.1 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.008542, allocations: 8 kB / 271.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.008723, allocations: 63.83 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.008807, allocations: 43.83 kB / 271.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.00888, allocations: 35.88 kB / 271.2 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.009259, allocations: 207.2 kB / 271.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.009262, allocations: 0 / 271.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009263, allocations: 0 / 271.4 MB, free: 2.609 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.009268, allocations: 0 / 271.4 MB, free: 2.609 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008501/0.01012, allocations: 0.5515 MB / 272 MB, free: 2.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.01015, allocations: 12.03 kB / 272 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.01022, allocations: 16.84 kB / 272 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.01062, allocations: 223.6 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.01064, allocations: 4.375 kB / 272.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.01065, allocations: 8.375 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.01098, allocations: 152.6 kB / 272.4 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01099, allocations: 3.938 kB / 272.4 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.011, allocations: 4 kB / 272.4 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.01101, allocations: 0 / 272.4 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.01111, allocations: 31.92 kB / 272.4 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.01167, allocations: 383 kB / 272.8 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.01194, allocations: 129.3 kB / 272.9 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.01203, allocations: 47.05 kB / 273 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.01206, allocations: 11.94 kB / 273 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.01222, allocations: 81.03 kB / 273 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.01222, allocations: 0 / 273 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003764/0.01259, allocations: 129.5 kB / 273.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.01268, allocations: 114.7 kB / 273.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.01304, allocations: 324.3 kB / 273.6 MB, free: 168 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01307, allocations: 29.7 kB / 273.6 MB, free: 132 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.01322, allocations: 174.8 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.01325, allocations: 16.16 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.01332, allocations: 39.36 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002939/0.01361, allocations: 0.5079 MB / 274.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.01366, allocations: 15.98 kB / 274.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.01376, allocations: 72.75 kB / 274.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.01388, allocations: 59.5 kB / 274.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01388, allocations: 4 kB / 274.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001843/0.01407, allocations: 85.59 kB / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01408, allocations: 8 kB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01409, allocations: 0 / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.0141, allocations: 4.062 kB / 274.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.01418, allocations: 19.92 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01418, allocations: 4 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.01424, allocations: 3.953 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01424, allocations: 4 kB / 274.6 MB, free: 15.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001555/0.0144, allocations: 180.4 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.0145, allocations: 61.55 kB / 274.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.01474, allocations: 107.5 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01474, allocations: 0 / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01474, allocations: 8.062 kB / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.01475, allocations: 0 / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.01498, allocations: 196.5 kB / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01498, allocations: 4 kB / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.01502, allocations: 7.938 kB / 275.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01502, allocations: 0 / 275.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01504, allocations: 11.98 kB / 275.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01504, allocations: 3.984 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01504, allocations: 0 / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.01535, allocations: 175.6 kB / 275.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.01542, allocations: 27.84 kB / 275.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.01545, allocations: 12 kB / 275.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.01551, allocations: 7.984 kB / 275.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.01555, allocations: 0 / 275.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.01557, allocations: 12.05 kB / 275.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.01579, allocations: 217.1 kB / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01579, allocations: 3.938 kB / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01602, allocations: 35.92 kB / 275.7 MB, free: 13.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002893/0.01892, allocations: 444.5 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.01914, allocations: 71.66 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01914, allocations: 0 / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.01923, allocations: 35.61 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.01966, allocations: 66.12 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.02025, allocations: 314 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.02039, allocations: 123.7 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.02045, allocations: 13.48 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.0205, allocations: 20.5 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0205, allocations: 0 / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of Templates: time 0.007185/0.02769, allocations: 2.533 MB / 279.3 MB, free: 10.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.381569636054337]