Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001765/0.001765, allocations: 75.42 kB / 21.24 MB, free: 0.5469 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.002036/0.002036, allocations: 150.2 kB / 24.49 MB, free: 3.73 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.401/1.401, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 50.52 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09663, allocations: 52.16 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003694/0.1003, allocations: 1.861 MB / 373.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1024, allocations: 1.087 MB / 374.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1026, allocations: 7.938 kB / 374.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1029, allocations: 63.66 kB / 374.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1032, allocations: 95.59 kB / 374.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.1039, allocations: 269.9 kB / 374.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.1042, allocations: 179.5 kB / 375.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1043, allocations: 17.8 kB / 375.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1044, allocations: 75.7 kB / 375.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1045, allocations: 79.67 kB / 375.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1046, allocations: 8 kB / 375.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1048, allocations: 71.88 kB / 375.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.1048, allocations: 55.81 kB / 375.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.1049, allocations: 51.56 kB / 375.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1053, allocations: 243 kB / 375.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1053, allocations: 0 / 375.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1053, allocations: 0 / 375.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1053, allocations: 4 kB / 375.7 MB, free: 3.199 MB / 334.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.0007622/0.1061, allocations: 474.6 kB / 376.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1061, allocations: 12.02 kB / 376.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.1062, allocations: 24.8 kB / 376.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1066, allocations: 229.4 kB / 376.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1066, allocations: 4.359 kB / 376.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.1066, allocations: 16.12 kB / 376.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.107, allocations: 180.4 kB / 376.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.107, allocations: 0 / 376.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.107, allocations: 0 / 376.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.107, allocations: 0 / 376.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1071, allocations: 43.86 kB / 376.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.1076, allocations: 314.1 kB / 377 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1079, allocations: 119.9 kB / 377.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.108, allocations: 50.56 kB / 377.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.108, allocations: 3.938 kB / 377.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1082, allocations: 79.38 kB / 377.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1082, allocations: 0 / 377.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004113/0.1086, allocations: 153.4 kB / 377.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1087, allocations: 140.5 kB / 377.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.1091, allocations: 325.9 kB / 377.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1091, allocations: 25.7 kB / 377.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1092, allocations: 128.4 kB / 378 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1093, allocations: 27.83 kB / 378 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.1093, allocations: 33.66 kB / 378 MB, free: 0.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1095, allocations: 338.8 kB / 378.4 MB, free: 292 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.1096, allocations: 23.98 kB / 378.4 MB, free: 268 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1097, allocations: 133.3 kB / 378.5 MB, free: 100 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1099, allocations: 84.2 kB / 378.6 MB, free: 0 / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1099, allocations: 80 / 378.6 MB, free: 16 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002547/0.1102, allocations: 133.4 kB / 378.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1102, allocations: 8 kB / 378.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1102, allocations: 0 / 378.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1102, allocations: 0 / 378.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1103, allocations: 23.92 kB / 378.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1104, allocations: 7.984 kB / 378.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.1104, allocations: 12.2 kB / 378.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1105, allocations: 11.98 kB / 378.8 MB, free: 15.8 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,superSample1.y,superSample1.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.0001542/0.1106, allocations: 153.9 kB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1107, allocations: 69.48 kB / 379 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.111, allocations: 119.4 kB / 379.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.111, allocations: 4 kB / 379.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.111, allocations: 3.984 kB / 379.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.111, allocations: 0 / 379.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1112, allocations: 181.1 kB / 379.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1112, allocations: 0 / 379.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.1113, allocations: 23.98 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1113, allocations: 0 / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1113, allocations: 4 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1113, allocations: 0 / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1113, allocations: 0 / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1116, allocations: 174.5 kB / 379.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.1117, allocations: 39.83 kB / 379.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1117, allocations: 4 kB / 379.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1118, allocations: 4 kB / 379.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.1119, allocations: 11.98 kB / 379.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1119, allocations: 8 kB / 379.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.1122, allocations: 245.2 kB / 379.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1122, allocations: 0 / 379.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1124, allocations: 31.94 kB / 379.8 MB, free: 14.66 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,superSample1.y,sample1.y,superSample1.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.001675/0.1141, allocations: 450.2 kB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1144, allocations: 75.84 kB / 380.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1144, allocations: 256 / 380.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.1145, allocations: 39.97 kB / 380.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1149, allocations: 67.58 kB / 380.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.1155, allocations: 372.7 kB / 380.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.1156, allocations: 123.9 kB / 381 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.1157, allocations: 29.81 kB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.1158, allocations: 24.48 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1158, allocations: 0 / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Templates: time 0.007242/0.123, allocations: 2.942 MB / 383.9 MB, free: 10.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.203849543933757]