Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001612/0.001612, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001865/0.001865, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 8.934 MB / 190.1 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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 54.92 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09626, allocations: 53.33 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00336/0.09962, allocations: 1.867 MB / 380.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1017, allocations: 1.212 MB / 382 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1018, allocations: 7.938 kB / 382 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1021, allocations: 71.66 kB / 382.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1025, allocations: 131.4 kB / 382.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.1031, allocations: 235.2 kB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.1033, allocations: 175.5 kB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1034, allocations: 21.78 kB / 382.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1036, allocations: 75.7 kB / 382.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1037, allocations: 83.61 kB / 382.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1037, allocations: 15.94 kB / 382.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1039, allocations: 71.94 kB / 382.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.104, allocations: 59.77 kB / 382.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.104, allocations: 55.55 kB / 383 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1044, allocations: 243 kB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1044, allocations: 0 / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1044, allocations: 4 kB / 383.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1044, allocations: 0 / 383.2 MB, free: 11.38 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.0007214/0.1051, allocations: 482.4 kB / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1052, allocations: 8.031 kB / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.1052, allocations: 28.8 kB / 383.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1056, allocations: 229.5 kB / 383.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1056, allocations: 12.38 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1056, allocations: 8.125 kB / 383.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.106, allocations: 172.4 kB / 384.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.106, allocations: 7.938 kB / 384.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.106, allocations: 4 kB / 384.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.106, allocations: 0 / 384.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1061, allocations: 39.97 kB / 384.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.1066, allocations: 326 kB / 384.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1069, allocations: 119.9 kB / 384.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.107, allocations: 42.56 kB / 384.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.107, allocations: 0 / 384.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.1072, allocations: 87.31 kB / 384.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1072, allocations: 0 / 384.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003977/0.1076, allocations: 157.4 kB / 384.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/0.1077, allocations: 132.5 kB / 385 MB, free: 9.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.108, allocations: 333.9 kB / 385.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1081, allocations: 29.7 kB / 385.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.1082, allocations: 136 kB / 385.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1082, allocations: 15.91 kB / 385.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.1082, allocations: 29.95 kB / 385.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1084, allocations: 342.8 kB / 385.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.1085, allocations: 27.92 kB / 385.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1086, allocations: 129.4 kB / 386 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1088, allocations: 92.2 kB / 386.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1088, allocations: 0 / 386.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.109, allocations: 129.7 kB / 386.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1091, allocations: 6.5 kB / 386.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1091, allocations: 4.062 kB / 386.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1091, allocations: 4 kB / 386.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1092, allocations: 19.98 kB / 386.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1092, allocations: 3.938 kB / 386.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.1093, allocations: 15.92 kB / 386.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1093, allocations: 4 kB / 386.3 MB, free: 7.961 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.0001484/0.1094, allocations: 154.8 kB / 386.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.1095, allocations: 77.5 kB / 386.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1098, allocations: 123.4 kB / 386.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1098, allocations: 4 kB / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1098, allocations: 0 / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1098, allocations: 3.984 kB / 386.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.11, allocations: 177.3 kB / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.11, allocations: 0 / 386.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.1101, allocations: 15.98 kB / 386.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1101, allocations: 3.938 kB / 386.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1101, allocations: 12.06 kB / 386.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1101, allocations: 0 / 386.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1101, allocations: 3.938 kB / 386.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1104, allocations: 174.6 kB / 387 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.1105, allocations: 43.72 kB / 387.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1105, allocations: 4 kB / 387.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1106, allocations: 4 kB / 387.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.1107, allocations: 7.984 kB / 387.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1107, allocations: 11.98 kB / 387.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.111, allocations: 245.2 kB / 387.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.111, allocations: 4 kB / 387.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1112, allocations: 35.92 kB / 387.4 MB, free: 6.801 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.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.001654/0.1129, allocations: 448.5 kB / 387.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1131, allocations: 75.83 kB / 387.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1131, allocations: 0 / 387.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.1132, allocations: 35.92 kB / 387.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1136, allocations: 77.11 kB / 388 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.1143, allocations: 376.3 kB / 388.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.1144, allocations: 131.9 kB / 388.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.014e-05/0.1145, allocations: 37.73 kB / 388.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.1146, allocations: 24.48 kB / 388.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1146, allocations: 0 / 388.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of Templates: time 0.007288/0.1218, allocations: 2.985 MB / 391.6 MB, free: 2.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.2639729250222445]