Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001661/0.001661, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001902/0.001902, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.386/1.386, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 47.92 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09027, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00333/0.0936, allocations: 1.884 MB / 420.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.09543, allocations: 1.134 MB / 422 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.09552, allocations: 4 kB / 422 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.09581, allocations: 63.67 kB / 422 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.09606, allocations: 95.58 kB / 422.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.09676, allocations: 260.5 kB / 422.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.097, allocations: 167.5 kB / 422.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.0971, allocations: 25.53 kB / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.09721, allocations: 71.7 kB / 422.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.09734, allocations: 83.67 kB / 422.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.09736, allocations: 8 kB / 422.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.09752, allocations: 75.88 kB / 422.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.09761, allocations: 51.78 kB / 422.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.09769, allocations: 75.47 kB / 422.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.09803, allocations: 242.9 kB / 423.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09804, allocations: 0 / 423.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09804, allocations: 0 / 423.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.09804, allocations: 3.938 kB / 423.2 MB, free: 7.879 MB / 350.1 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.0007354/0.09878, allocations: 0.531 MB / 423.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.09881, allocations: 11.89 kB / 423.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.09888, allocations: 24.8 kB / 423.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.09928, allocations: 295.7 kB / 424 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.0993, allocations: 8.375 kB / 424 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.09932, allocations: 12.11 kB / 424 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.09965, allocations: 159.6 kB / 424.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.09966, allocations: 3.984 kB / 424.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.09968, allocations: 0 / 424.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.09968, allocations: 0 / 424.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.0998, allocations: 39.92 kB / 424.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1003, allocations: 386.3 kB / 424.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1006, allocations: 111.9 kB / 424.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.1007, allocations: 54.48 kB / 424.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1007, allocations: 4 kB / 424.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.1009, allocations: 71.39 kB / 424.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1009, allocations: 0 / 424.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004036/0.1013, allocations: 157.4 kB / 425 MB, free: 5.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1014, allocations: 162.5 kB / 425.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1018, allocations: 322.7 kB / 425.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1018, allocations: 29.7 kB / 425.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.1019, allocations: 124.1 kB / 425.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1019, allocations: 15.91 kB / 425.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.1019, allocations: 37.66 kB / 425.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1021, allocations: 334.8 kB / 426 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.1022, allocations: 23.98 kB / 426 MB, free: 4.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1023, allocations: 86.94 kB / 426.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1025, allocations: 92.09 kB / 426.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1025, allocations: 0 / 426.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002361/0.1027, allocations: 121.5 kB / 426.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1027, allocations: 4 kB / 426.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1027, allocations: 320 / 426.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1027, allocations: 4 kB / 426.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1028, allocations: 27.92 kB / 426.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1028, allocations: 4.125 kB / 426.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.1029, allocations: 19.83 kB / 426.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1029, allocations: 4 kB / 426.4 MB, free: 4.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001407/0.1031, allocations: 154.5 kB / 426.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.1032, allocations: 69.48 kB / 426.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.1032, allocations: 25.7 kB / 426.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.1032, allocations: 4.047 kB / 426.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1032, allocations: 7.922 kB / 426.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1032, allocations: 8 kB / 426.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1035, allocations: 237.6 kB / 426.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1035, allocations: 0 / 426.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.1035, allocations: 15.98 kB / 426.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1035, allocations: 0 / 426.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1035, allocations: 4 kB / 426.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1035, allocations: 3.938 kB / 426.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1035, allocations: 0 / 426.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1038, allocations: 170.5 kB / 427.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1039, allocations: 120.9 kB / 427.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.104, allocations: 0 / 427.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.104, allocations: 4 kB / 427.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.1041, allocations: 11.98 kB / 427.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1041, allocations: 7.938 kB / 427.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.1043, allocations: 245.9 kB / 427.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1043, allocations: 4 kB / 427.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1046, allocations: 28 kB / 427.5 MB, free: 3.094 MB / 350.1 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001482/0.1061, allocations: 426.1 kB / 427.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1063, allocations: 75.84 kB / 428 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1063, allocations: 0 / 428 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.1064, allocations: 28.22 kB / 428 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1068, allocations: 67.53 kB / 428.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.1074, allocations: 402.3 kB / 428.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1078, allocations: 0.736 MB / 429.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.1079, allocations: 27.44 kB / 429.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1079, allocations: 0 / 429.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Templates: time 0.005122/0.113, allocations: 2.899 MB / 432.1 MB, free: 14.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 6.9412327338941395]