Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000966/0.000966, allocations: 98.23 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 4 kB / 307.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 51.53 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002569/0.135, allocations: 1.576 MB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1371, allocations: 1.123 MB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.1373, allocations: 3.938 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.138, allocations: 135.7 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.1384, allocations: 119.6 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.139, allocations: 147.6 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.1393, allocations: 167.5 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1394, allocations: 29.53 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1396, allocations: 63.66 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1397, allocations: 67.69 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1397, allocations: 4 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1399, allocations: 47.91 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.14, allocations: 39.83 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.14, allocations: 53.58 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1403, allocations: 152 kB / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1403, allocations: 0 / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1403, allocations: 0 / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1403, allocations: 0 / 362.3 MB, free: 9.906 MB / 302.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.0007554/0.1411, allocations: 496.1 kB / 362.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1411, allocations: 12.03 kB / 362.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.1412, allocations: 23.7 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.1416, allocations: 257.7 kB / 363.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1416, allocations: 4 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1416, allocations: 4 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.142, allocations: 149.9 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.142, allocations: 3.984 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.142, allocations: 8 kB / 363.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.142, allocations: 0 / 363.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1421, allocations: 31.92 kB / 363.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1427, allocations: 362.4 kB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1429, allocations: 111.8 kB / 363.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.143, allocations: 50.5 kB / 363.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.143, allocations: 4 kB / 363.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1432, allocations: 79.38 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.1432, allocations: 0 / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003637/0.1436, allocations: 137.6 kB / 364 MB, free: 7.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.1437, allocations: 140.5 kB / 364.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.144, allocations: 272.9 kB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.144, allocations: 29.7 kB / 364.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.1441, allocations: 120.2 kB / 364.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1441, allocations: 19.75 kB / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.1441, allocations: 4 kB / 364.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1443, allocations: 322.8 kB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.1443, allocations: 27.98 kB / 365 MB, free: 7.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.1444, allocations: 69.94 kB / 365 MB, free: 6.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.069e-05/0.1445, allocations: 31.94 kB / 365.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1445, allocations: 4.031 kB / 365.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001987/0.1447, allocations: 113.4 kB / 365.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1448, allocations: 4 kB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1448, allocations: 4 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1448, allocations: 0 / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.1449, allocations: 12 kB / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1449, allocations: 0 / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.145, allocations: 12.11 kB / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.145, allocations: 12 kB / 365.2 MB, free: 6.719 MB / 302.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.1451, allocations: 149.7 kB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.1452, allocations: 57.42 kB / 365.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.1453, allocations: 21.7 kB / 365.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1453, allocations: 4 kB / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1453, allocations: 0 / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1453, allocations: 0 / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1455, allocations: 229.6 kB / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1455, allocations: 7.953 kB / 365.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.1455, allocations: 7.938 kB / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1455, allocations: 0 / 365.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1456, allocations: 4.312 kB / 365.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1456, allocations: 7.922 kB / 365.7 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1456, allocations: 4 kB / 365.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1458, allocations: 162.4 kB / 365.9 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.1459, allocations: 116.8 kB / 366 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1459, allocations: 4 kB / 366 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.146, allocations: 4 kB / 366 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1461, allocations: 11.98 kB / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1461, allocations: 4 kB / 366 MB, free: 5.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1463, allocations: 200.5 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1463, allocations: 0 / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1466, allocations: 28 kB / 366.2 MB, free: 5.605 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009621/0.1475, allocations: 412.2 kB / 366.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1477, allocations: 67.91 kB / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1477, allocations: 0 / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/0.1478, allocations: 20 kB / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1482, allocations: 66.56 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.1487, allocations: 350.4 kB / 367.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.149, allocations: 0.7283 MB / 367.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.1491, allocations: 25.53 kB / 367.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.1491, allocations: 23.42 kB / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1492, allocations: 0 / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of Templates: time 0.005833/0.155, allocations: 2.244 MB / 370.1 MB, free: 1.785 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches