Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001436/0.001436, 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.001472/0.001472, 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.376/1.376, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 47.92 kB / 366.8 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09617, allocations: 52.15 MB / 419 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003316/0.09949, allocations: 1.886 MB / 420.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1012, allocations: 1.083 MB / 421.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.1013, allocations: 4 kB / 421.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.1019, allocations: 147.5 kB / 422.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1022, allocations: 119.5 kB / 422.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1027, allocations: 214.6 kB / 422.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.103, allocations: 171.6 kB / 422.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1031, allocations: 21.55 kB / 422.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1032, allocations: 75.62 kB / 422.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1033, allocations: 75.69 kB / 422.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1033, allocations: 8 kB / 422.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1035, allocations: 55.97 kB / 422.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.1036, allocations: 47.77 kB / 422.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.1036, allocations: 67.55 kB / 422.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.104, allocations: 207.1 kB / 423.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.104, allocations: 4 kB / 423.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.104, allocations: 0 / 423.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.104, allocations: 0 / 423.1 MB, free: 7.957 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.0007648/0.1047, allocations: 0.5154 MB / 423.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1048, allocations: 15.89 kB / 423.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.1048, allocations: 24.8 kB / 423.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1052, allocations: 278.9 kB / 423.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1052, allocations: 4.375 kB / 423.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1052, allocations: 12.12 kB / 424 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1056, allocations: 142.7 kB / 424.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1056, allocations: 3.938 kB / 424.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1056, allocations: 4 kB / 424.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1056, allocations: 0 / 424.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1057, allocations: 31.98 kB / 424.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.1062, allocations: 358.4 kB / 424.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.1064, allocations: 111.9 kB / 424.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.1065, allocations: 38.56 kB / 424.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1065, allocations: 4 kB / 424.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.1067, allocations: 79.28 kB / 424.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1067, allocations: 0 / 424.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000376/0.1071, allocations: 141.4 kB / 424.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.1071, allocations: 132.5 kB / 425 MB, free: 5.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.1074, allocations: 265.2 kB / 425.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1074, allocations: 25.7 kB / 425.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.1075, allocations: 120.1 kB / 425.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1076, allocations: 23.83 kB / 425.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.1076, allocations: 25.72 kB / 425.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1078, allocations: 334.8 kB / 425.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.1078, allocations: 31.92 kB / 425.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.1079, allocations: 66 kB / 425.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1081, allocations: 76.22 kB / 425.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1081, allocations: 32 / 425.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002106/0.1083, allocations: 121.8 kB / 426 MB, free: 4.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1083, allocations: 7.984 kB / 426.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1083, allocations: 7.938 kB / 426.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1083, allocations: 0 / 426.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.1084, allocations: 12 kB / 426.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1084, allocations: 3.984 kB / 426.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.1085, allocations: 15.88 kB / 426.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1085, allocations: 8.125 kB / 426.1 MB, free: 4.625 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.0001262/0.1086, allocations: 149.8 kB / 426.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.1087, allocations: 57.61 kB / 426.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1087, allocations: 21.7 kB / 426.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1087, allocations: 0 / 426.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1087, allocations: 0 / 426.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1088, allocations: 7.938 kB / 426.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.109, allocations: 225.6 kB / 426.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.109, allocations: 4 kB / 426.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.109, allocations: 11.98 kB / 426.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.109, allocations: 0 / 426.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.109, allocations: 8 kB / 426.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.109, allocations: 0 / 426.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.109, allocations: 0 / 426.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1093, allocations: 154.6 kB / 426.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1094, allocations: 116.9 kB / 426.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1094, allocations: 4 kB / 426.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.1094, allocations: 96 / 426.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1095, allocations: 19.91 kB / 426.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1095, allocations: 7.938 kB / 426.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1097, allocations: 196.5 kB / 427.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1097, allocations: 0 / 427.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1099, allocations: 24 kB / 427.1 MB, free: 3.527 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.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.00147/0.1114, allocations: 431.5 kB / 427.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1116, allocations: 67.84 kB / 427.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1116, allocations: 0 / 427.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.1117, allocations: 20 kB / 427.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1121, allocations: 67.05 kB / 427.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.1127, allocations: 346.7 kB / 428 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.113, allocations: 0.724 MB / 428.7 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.1131, allocations: 27.42 kB / 428.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1131, allocations: 0 / 428.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Templates: time 0.0049/0.118, allocations: 2.6 MB / 431.3 MB, free: 15.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 6.890793410828337]