Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001366/0.001366, allocations: 67.77 kB / 21.24 MB, free: 404 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.001675/0.001675, allocations: 163.9 kB / 24.49 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9.027 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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 50.11 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09872, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003435/0.1022, allocations: 1.881 MB / 380.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1041, allocations: 1.146 MB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1042, allocations: 3.938 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1048, allocations: 147.6 kB / 382.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.1052, allocations: 159.4 kB / 382.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.1056, allocations: 175 kB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1059, allocations: 187.5 kB / 382.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.106, allocations: 33.67 kB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1061, allocations: 79.64 kB / 382.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1063, allocations: 75.61 kB / 382.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1063, allocations: 12 kB / 382.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1064, allocations: 63.94 kB / 382.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.1065, allocations: 39.84 kB / 382.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1066, allocations: 51.62 kB / 382.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1069, allocations: 223 kB / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1069, allocations: 0 / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1069, allocations: 0 / 383.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1069, allocations: 0 / 383.1 MB, free: 11.42 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.0006984/0.1076, allocations: 446.7 kB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1076, allocations: 12.03 kB / 383.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.1077, allocations: 20.8 kB / 383.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.108, allocations: 221.5 kB / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.108, allocations: 384 / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1081, allocations: 12.12 kB / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1084, allocations: 141.9 kB / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1084, allocations: 0 / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1084, allocations: 0 / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1084, allocations: 8 kB / 384 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1085, allocations: 35.92 kB / 384 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.1089, allocations: 294.1 kB / 384.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1092, allocations: 103.9 kB / 384.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.1093, allocations: 50.5 kB / 384.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1093, allocations: 0 / 384.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1094, allocations: 79.38 kB / 384.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1094, allocations: 4 kB / 384.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003598/0.1098, allocations: 145.4 kB / 384.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.1099, allocations: 114.8 kB / 384.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.1102, allocations: 269.9 kB / 385.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1102, allocations: 33.7 kB / 385.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.1103, allocations: 120.1 kB / 385.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1103, allocations: 15.84 kB / 385.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.1104, allocations: 33.66 kB / 385.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1105, allocations: 331 kB / 385.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.1106, allocations: 27.98 kB / 385.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1107, allocations: 94.78 kB / 385.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1109, allocations: 72.22 kB / 385.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1109, allocations: 4 kB / 385.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002289/0.1111, allocations: 125.6 kB / 385.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1111, allocations: 8 kB / 385.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1111, allocations: 3.938 kB / 385.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1111, allocations: 4 kB / 385.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.1112, allocations: 15.92 kB / 385.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1112, allocations: 4 kB / 385.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.1113, allocations: 7.953 kB / 385.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1113, allocations: 4 kB / 385.9 MB, free: 8.34 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,sample1.u,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.0001289/0.1114, allocations: 141.8 kB / 386.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.1115, allocations: 65.56 kB / 386.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1118, allocations: 119.8 kB / 386.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1118, allocations: 0 / 386.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1118, allocations: 4 kB / 386.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1118, allocations: 4 kB / 386.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.1119, allocations: 169.1 kB / 386.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.112, allocations: 4 kB / 386.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.112, allocations: 11.92 kB / 386.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.112, allocations: 3.938 kB / 386.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.112, allocations: 4 kB / 386.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.112, allocations: 4.062 kB / 386.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.112, allocations: 0 / 386.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1123, allocations: 162.6 kB / 386.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.1123, allocations: 35.84 kB / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1124, allocations: 0 / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.1124, allocations: 8 kB / 386.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1125, allocations: 7.984 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1125, allocations: 4 kB / 386.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.1127, allocations: 201.2 kB / 386.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1127, allocations: 4 kB / 386.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.113, allocations: 35.92 kB / 386.9 MB, free: 7.293 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,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.001614/0.1146, allocations: 451.8 kB / 387.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1148, allocations: 67.84 kB / 387.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1148, allocations: 0 / 387.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1149, allocations: 23.98 kB / 387.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1152, allocations: 69.44 kB / 387.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.1158, allocations: 325.6 kB / 387.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.1159, allocations: 123.4 kB / 387.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.241e-05/0.1159, allocations: 21.47 kB / 388 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.116, allocations: 24.48 kB / 388 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.116, allocations: 0 / 388 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.006221/0.1222, allocations: 2.583 MB / 390.6 MB, free: 3.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.323557385010645]