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.001111/0.001111, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001028/0.001028, allocations: 147.8 kB / 24.98 MB, free: 8.816 MB / 18.57 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.027/1.027, allocations: 173.4 MB / 201.5 MB, free: 9.344 MB / 186.7 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 1.213e-06/1.213e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.504e-05, allocations: 6.25 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002356/0.002371, allocations: 1.92 MB / 270 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003678, allocations: 1.048 MB / 271 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.00378, allocations: 3.938 kB / 271 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.004273, allocations: 159.4 kB / 271.2 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.004485, allocations: 115.5 kB / 271.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.004871, allocations: 207.2 kB / 271.5 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.005058, allocations: 179.5 kB / 271.7 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.005143, allocations: 21.78 kB / 271.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005254, allocations: 111.7 kB / 271.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.005343, allocations: 63.8 kB / 271.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.005362, allocations: 12 kB / 271.9 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.005458, allocations: 55.89 kB / 271.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.005509, allocations: 47.84 kB / 272 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.005552, allocations: 31.86 kB / 272 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.005749, allocations: 163.3 kB / 272.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005751, allocations: 4 kB / 272.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005751, allocations: 3.938 kB / 272.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.005755, allocations: 0 / 272.2 MB, free: 2.59 MB / 250.7 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.000502/0.006257, allocations: 0.5323 MB / 272.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.006289, allocations: 16.03 kB / 272.7 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.006339, allocations: 20.84 kB / 272.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.006569, allocations: 224.3 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.006583, allocations: 4.375 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.006595, allocations: 8.375 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.006808, allocations: 132.6 kB / 273.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.006817, allocations: 7.938 kB / 273.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.006827, allocations: 3.984 kB / 273.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006835, allocations: 7.938 kB / 273.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.006885, allocations: 19.98 kB / 273.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.007226, allocations: 347 kB / 273.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.007343, allocations: 113.3 kB / 273.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.007384, allocations: 43.05 kB / 273.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.007399, allocations: 4 kB / 273.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/0.00749, allocations: 72.98 kB / 273.7 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.007491, allocations: 4 kB / 273.7 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001998/0.007691, allocations: 113.7 kB / 273.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.007739, allocations: 106.8 kB / 273.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.007957, allocations: 280.3 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.007977, allocations: 37.69 kB / 274.3 MB, free: 268 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.008042, allocations: 159.1 kB / 274.4 MB, free: 104 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.008061, allocations: 23.84 kB / 274.4 MB, free: 80 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.008097, allocations: 35.36 kB / 274.5 MB, free: 36 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.008213, allocations: 0.4962 MB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.008235, allocations: 8 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.008282, allocations: 68.75 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/0.00833, allocations: 39.31 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008332, allocations: 0 / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.374e-05/0.008426, allocations: 85.48 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.008438, allocations: 14.95 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.008442, allocations: 4.062 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.008453, allocations: 0 / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.008509, allocations: 8 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.008514, allocations: 0 / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.008547, allocations: 8 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.008553, allocations: 7.938 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.012e-05/0.008623, allocations: 172.4 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.008673, allocations: 57.61 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.008795, allocations: 91.38 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.008799, allocations: 8.062 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.008802, allocations: 0 / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008805, allocations: 0 / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.008924, allocations: 188.5 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008926, allocations: 0 / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.008944, allocations: 8 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008945, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.008952, allocations: 4 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.008954, allocations: 4.062 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.008956, allocations: 3.984 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.009079, allocations: 171.5 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.009121, allocations: 27.84 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.00914, allocations: 11.92 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.009172, allocations: 8 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.009202, allocations: 3.984 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.009211, allocations: 4 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.009308, allocations: 201.1 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009308, allocations: 0 / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.009463, allocations: 31.94 kB / 276.2 MB, free: 14.19 MB / 266.7 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.0007763/0.01024, allocations: 395.7 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.01034, allocations: 43.61 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01034, allocations: 0 / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.01038, allocations: 35.72 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.01061, allocations: 64.2 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.01094, allocations: 293.5 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01098, allocations: 83.75 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.01102, allocations: 13.48 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.01105, allocations: 24.69 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01105, allocations: 4 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of Templates: time 0.003894/0.01495, allocations: 2.533 MB / 279.7 MB, free: 10.83 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.025226612109691]