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.0012/0.0012, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 61.16 kB / 306.9 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1426, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004269/0.1469, allocations: 1.892 MB / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1491, allocations: 1.22 MB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1494, allocations: 7.938 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.1501, allocations: 147.5 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.1506, allocations: 155.3 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.1512, allocations: 167.5 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1516, allocations: 195.5 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.1519, allocations: 41.52 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1521, allocations: 71.66 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1523, allocations: 71.69 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.1524, allocations: 12 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.1526, allocations: 51.95 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1527, allocations: 43.84 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1529, allocations: 71.42 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.1535, allocations: 215.6 kB / 361.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1535, allocations: 4 kB / 361.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1535, allocations: 0 / 361.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1536, allocations: 0 / 361.8 MB, free: 9.73 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.001206/0.1548, allocations: 0.5079 MB / 362.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.1548, allocations: 8.031 kB / 362.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.155, allocations: 24.59 kB / 362.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.1554, allocations: 266.7 kB / 362.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1555, allocations: 8.375 kB / 362.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1555, allocations: 12.11 kB / 362.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.156, allocations: 150.2 kB / 362.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.156, allocations: 0 / 362.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.156, allocations: 4 kB / 362.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.156, allocations: 0 / 362.8 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1562, allocations: 47.89 kB / 362.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.1569, allocations: 362.4 kB / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1573, allocations: 111.9 kB / 363.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1575, allocations: 46.5 kB / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.1575, allocations: 0 / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.1578, allocations: 75.39 kB / 363.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.1578, allocations: 0 / 363.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000505/0.1583, allocations: 137.3 kB / 363.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.1585, allocations: 136.5 kB / 363.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.1589, allocations: 276.9 kB / 363.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1589, allocations: 25.7 kB / 364 MB, free: 7.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.159, allocations: 120.4 kB / 364.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1591, allocations: 19.75 kB / 364.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.1592, allocations: 33.7 kB / 364.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000419/0.1596, allocations: 330.8 kB / 364.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.1597, allocations: 15.98 kB / 364.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1598, allocations: 77.94 kB / 364.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.16, allocations: 76.16 kB / 364.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.16, allocations: 0 / 364.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.1602, allocations: 117.5 kB / 364.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.1603, allocations: 4 kB / 364.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.1603, allocations: 0 / 364.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.1603, allocations: 4 kB / 364.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1604, allocations: 15.92 kB / 364.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1604, allocations: 4 kB / 364.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.1605, allocations: 16.16 kB / 364.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1606, allocations: 4 kB / 364.8 MB, free: 6.41 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 ($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.0001782/0.1607, allocations: 149.9 kB / 364.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.1608, allocations: 65.44 kB / 365 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.1609, allocations: 25.7 kB / 365 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1609, allocations: 0 / 365 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1609, allocations: 0 / 365 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1609, allocations: 7.938 kB / 365 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.1612, allocations: 229.5 kB / 365.3 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1612, allocations: 3.938 kB / 365.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1612, allocations: 7.984 kB / 365.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1612, allocations: 4 kB / 365.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1613, allocations: 4.062 kB / 365.3 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1613, allocations: 7.938 kB / 365.3 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1613, allocations: 0 / 365.3 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1615, allocations: 150.5 kB / 365.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1616, allocations: 112.9 kB / 365.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1617, allocations: 4 kB / 365.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.1618, allocations: 4 kB / 365.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.1618, allocations: 7.984 kB / 365.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1618, allocations: 11.94 kB / 365.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.1621, allocations: 196.5 kB / 365.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1621, allocations: 0 / 365.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1625, allocations: 31.91 kB / 365.8 MB, free: 5.297 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 (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.00107/0.1636, allocations: 420.3 kB / 366.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1639, allocations: 75.84 kB / 366.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1639, allocations: 0 / 366.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.164, allocations: 27.98 kB / 366.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1645, allocations: 68.06 kB / 366.4 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.1653, allocations: 317.1 kB / 366.7 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.1659, allocations: 0.7319 MB / 367.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1661, allocations: 17.55 kB / 367.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.1661, allocations: 23.44 kB / 367.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1661, allocations: 4 kB / 367.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of Templates: time 0.008646/0.1748, allocations: 2.429 MB / 369.9 MB, free: 1.301 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