Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 95.75 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000928/0.0009279, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 241.1 MB, free: 5.344 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002824, allocations: 8.516 kB / 300.7 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 50.42 MB / 351.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001869/0.1369, allocations: 1.193 MB / 352.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.1373, allocations: 135.6 kB / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.1373, allocations: 7.938 kB / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.1374, allocations: 0 / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.1375, allocations: 0 / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1377, allocations: 35.84 kB / 352.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.1378, allocations: 19.97 kB / 352.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.1379, allocations: 8 kB / 352.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.138, allocations: 7.938 kB / 352.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.138, allocations: 7.922 kB / 352.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.138, allocations: 7.984 kB / 352.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.138, allocations: 4 kB / 352.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.1381, allocations: 11.94 kB / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.1381, allocations: 25.7 kB / 352.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.609e-05/0.1382, allocations: 27.95 kB / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1382, allocations: 0 / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1382, allocations: 0 / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1382, allocations: 0 / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004591/0.1387, allocations: 351.2 kB / 353 MB, free: 9.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1387, allocations: 8.031 kB / 353 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1388, allocations: 19.8 kB / 353 MB, free: 9.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.139, allocations: 183 kB / 353.2 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.139, allocations: 3.938 kB / 353.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.139, allocations: 4 kB / 353.2 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1392, allocations: 97.03 kB / 353.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1393, allocations: 0 / 353.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1393, allocations: 7.938 kB / 353.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1393, allocations: 0 / 353.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.1393, allocations: 15.94 kB / 353.3 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.1397, allocations: 257.8 kB / 353.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.1397, allocations: 45.2 kB / 353.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1398, allocations: 0 / 353.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1398, allocations: 38.5 kB / 353.6 MB, free: 8.961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1398, allocations: 4.062 kB / 353.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002207/0.14, allocations: 57.8 kB / 353.7 MB, free: 8.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.1401, allocations: 89.05 kB / 353.8 MB, free: 8.789 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1402, allocations: 135.7 kB / 353.9 MB, free: 8.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1403, allocations: 25.7 kB / 353.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.1403, allocations: 80.14 kB / 354 MB, free: 8.535 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.1403, allocations: 0 / 354 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.1403, allocations: 4 kB / 354 MB, free: 8.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1405, allocations: 318.8 kB / 354.3 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.1405, allocations: 8 kB / 354.3 MB, free: 8.203 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.1405, allocations: 17.72 kB / 354.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.1406, allocations: 7.984 kB / 354.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1406, allocations: 0 / 354.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.1407, allocations: 53.75 kB / 354.4 MB, free: 8.113 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1408, allocations: 10.34 kB / 354.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1408, allocations: 0 / 354.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1408, allocations: 0 / 354.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.1408, allocations: 7.953 kB / 354.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1408, allocations: 0 / 354.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.1409, allocations: 3.906 kB / 354.4 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1409, allocations: 4 kB / 354.4 MB, free: 8.09 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001033/0.141, allocations: 113.8 kB / 354.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.1411, allocations: 41.64 kB / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.1412, allocations: 7.531 kB / 354.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1412, allocations: 0 / 354.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1412, allocations: 3.953 kB / 354.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1412, allocations: 4 kB / 354.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.1414, allocations: 165.7 kB / 354.8 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1414, allocations: 0 / 354.8 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-06/0.1414, allocations: 3.938 kB / 354.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1415, allocations: 0 / 354.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1415, allocations: 7.938 kB / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1415, allocations: 0 / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1415, allocations: 4.031 kB / 354.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1417, allocations: 169.9 kB / 355 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.1418, allocations: 89 kB / 355 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1418, allocations: 0 / 355 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.1419, allocations: 8.031 kB / 355.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.142, allocations: 7.938 kB / 355.1 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.142, allocations: 4 kB / 355.1 MB, free: 7.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.142, allocations: 99.27 kB / 355.2 MB, free: 7.262 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1421, allocations: 0 / 355.2 MB, free: 7.262 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1424, allocations: 4 kB / 355.2 MB, free: 7.258 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001249/0.1425, allocations: 101.5 kB / 355.3 MB, free: 7.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1427, allocations: 19.98 kB / 355.3 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1427, allocations: 0 / 355.3 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.1427, allocations: 7.938 kB / 355.3 MB, free: 7.125 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1431, allocations: 16.02 kB / 355.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1434, allocations: 149.9 kB / 355.5 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1438, allocations: 0.6926 MB / 356.1 MB, free: 6.215 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.1438, allocations: 4 kB / 356.1 MB, free: 6.211 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.1439, allocations: 11.44 kB / 356.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1439, allocations: 0 / 356.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of Templates: time 0.002961/0.1468, allocations: 385.2 kB / 356.5 MB, free: 5.828 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches