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.001359/0.001359, allocations: 74.11 kB / 21.24 MB, free: 0.5547 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.001351/0.001351, allocations: 151.1 kB / 24.49 MB, free: 3.723 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.396/1.396, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.001578/0.001578, allocations: 47.84 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09305, allocations: 52.15 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003886/0.09694, allocations: 1.872 MB / 373.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.09895, allocations: 1.017 MB / 374.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.09908, allocations: 7.938 kB / 374.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.09974, allocations: 151.5 kB / 374.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.1002, allocations: 123.6 kB / 374.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.1008, allocations: 211.2 kB / 374.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1011, allocations: 179.5 kB / 375.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1012, allocations: 17.75 kB / 375.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1013, allocations: 79.69 kB / 375.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1015, allocations: 83.55 kB / 375.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1015, allocations: 8 kB / 375.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.1016, allocations: 55.97 kB / 375.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.1017, allocations: 51.83 kB / 375.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.1018, allocations: 51.61 kB / 375.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.1021, allocations: 203.1 kB / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1021, allocations: 0 / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1021, allocations: 0 / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1022, allocations: 0 / 375.6 MB, free: 3.254 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.0007664/0.1029, allocations: 450.7 kB / 376.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.103, allocations: 8.031 kB / 376.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.103, allocations: 20.8 kB / 376.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1033, allocations: 209.6 kB / 376.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1034, allocations: 8.312 kB / 376.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1034, allocations: 12.12 kB / 376.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.1037, allocations: 133.9 kB / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1037, allocations: 0 / 376.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1037, allocations: 8 kB / 376.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1037, allocations: 4 kB / 376.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1038, allocations: 39.91 kB / 376.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.1043, allocations: 302 kB / 376.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1046, allocations: 111.9 kB / 376.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.1046, allocations: 42.56 kB / 377 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1047, allocations: 0 / 377 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1048, allocations: 79.33 kB / 377 MB, free: 1.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1048, allocations: 4 kB / 377.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003882/0.1052, allocations: 137.5 kB / 377.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.1053, allocations: 110.8 kB / 377.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.1056, allocations: 265.8 kB / 377.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1056, allocations: 25.7 kB / 377.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.1057, allocations: 120.1 kB / 377.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1058, allocations: 19.84 kB / 377.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1058, allocations: 25.7 kB / 377.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.106, allocations: 330.8 kB / 378.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.106, allocations: 28.23 kB / 378.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1062, allocations: 90.78 kB / 378.2 MB, free: 476 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1063, allocations: 80.22 kB / 378.3 MB, free: 380 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1063, allocations: 0 / 378.3 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.1065, allocations: 113.7 kB / 378.4 MB, free: 260 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1065, allocations: 10.81 kB / 378.4 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1065, allocations: 3.938 kB / 378.4 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1066, allocations: 4 kB / 378.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.1066, allocations: 23.86 kB / 378.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1066, allocations: 4 kB / 378.4 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.1067, allocations: 8.266 kB / 378.4 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1067, allocations: 7.984 kB / 378.4 MB, free: 200 kB / 334.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.0001411/0.1069, allocations: 149.7 kB / 378.6 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.107, allocations: 65.55 kB / 378.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.1072, allocations: 115.4 kB / 378.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1072, allocations: 4 kB / 378.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1072, allocations: 0 / 378.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1072, allocations: 0 / 378.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1074, allocations: 169.2 kB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1074, allocations: 0 / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1074, allocations: 8 kB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1074, allocations: 3.984 kB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1075, allocations: 8 kB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1075, allocations: 0 / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1075, allocations: 4.062 kB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1077, allocations: 162.6 kB / 379.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.1078, allocations: 35.88 kB / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1078, allocations: 4 kB / 379.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.1079, allocations: 4 kB / 379.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1079, allocations: 7.984 kB / 379.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1079, allocations: 8 kB / 379.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.1081, allocations: 197.1 kB / 379.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1081, allocations: 0 / 379.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1084, allocations: 31.94 kB / 379.4 MB, free: 15.16 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.001657/0.1101, allocations: 444.7 kB / 379.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1103, allocations: 75.83 kB / 379.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1103, allocations: 0 / 379.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.1104, allocations: 31.92 kB / 379.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1107, allocations: 56.3 kB / 380 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.1113, allocations: 321.3 kB / 380.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.1114, allocations: 119.4 kB / 380.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.1115, allocations: 25.56 kB / 380.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.1115, allocations: 20.5 kB / 380.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1115, allocations: 4 kB / 380.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006223/0.1178, allocations: 2.533 MB / 383 MB, free: 11.72 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.194784549064934]