Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.0009695/0.0009695, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 44.92 kB / 300 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1379, allocations: 49.45 MB / 349.4 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003455/0.1414, allocations: 1.62 MB / 351 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.1424, allocations: 478.7 kB / 351.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1425, allocations: 4 kB / 351.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.828e-05/0.1426, allocations: 7.938 kB / 351.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1428, allocations: 3.984 kB / 351.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.143, allocations: 39.91 kB / 351.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.1432, allocations: 39.84 kB / 351.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1433, allocations: 19.94 kB / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.1434, allocations: 15.94 kB / 351.6 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.1434, allocations: 19.86 kB / 351.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1435, allocations: 4 kB / 351.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1435, allocations: 8 kB / 351.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.1436, allocations: 19.91 kB / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.1436, allocations: 23.8 kB / 351.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1437, allocations: 43.83 kB / 351.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1437, allocations: 0 / 351.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1437, allocations: 3.938 kB / 351.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1438, allocations: 0 / 351.7 MB, free: 2.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005014/0.1443, allocations: 379.5 kB / 352.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1443, allocations: 12.03 kB / 352.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1444, allocations: 12.84 kB / 352.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1446, allocations: 184.2 kB / 352.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1446, allocations: 4.375 kB / 352.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1446, allocations: 4.375 kB / 352.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.1449, allocations: 129.2 kB / 352.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.145, allocations: 3.938 kB / 352.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.145, allocations: 0 / 352.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.145, allocations: 7.969 kB / 352.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.1451, allocations: 19.98 kB / 352.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.1455, allocations: 265.7 kB / 352.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1457, allocations: 142.2 kB / 352.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.1458, allocations: 29.77 kB / 352.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1459, allocations: 0 / 352.9 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1459, allocations: 38.5 kB / 352.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1459, allocations: 4 kB / 353 MB, free: 0.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002656/0.1462, allocations: 77.58 kB / 353 MB, free: 0.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.1462, allocations: 85.03 kB / 353.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1464, allocations: 136.3 kB / 353.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1464, allocations: 25.7 kB / 353.3 MB, free: 488 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.1465, allocations: 92.08 kB / 353.4 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1465, allocations: 0 / 353.4 MB, free: 392 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1465, allocations: 29.73 kB / 353.4 MB, free: 356 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.1468, allocations: 318.8 kB / 353.7 MB, free: 28 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.1468, allocations: 11.98 kB / 353.7 MB, free: 16 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.1469, allocations: 35.42 kB / 353.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.147, allocations: 51.36 kB / 353.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.147, allocations: 0 / 353.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.1471, allocations: 61.62 kB / 353.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1472, allocations: 8 kB / 353.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1472, allocations: 3.984 kB / 353.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1472, allocations: 4.125 kB / 353.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1473, allocations: 15.92 kB / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1473, allocations: 0 / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1473, allocations: 8 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1474, allocations: 4 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.462e-05/0.1474, allocations: 121.8 kB / 354 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.1475, allocations: 45.61 kB / 354.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.1476, allocations: 12.23 kB / 354.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1476, allocations: 0 / 354.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1476, allocations: 4 kB / 354.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1476, allocations: 0 / 354.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1478, allocations: 181.5 kB / 354.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1478, allocations: 0 / 354.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.1478, allocations: 11.98 kB / 354.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1479, allocations: 0 / 354.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1479, allocations: 7.938 kB / 354.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1479, allocations: 0 / 354.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1479, allocations: 0 / 354.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1481, allocations: 172.6 kB / 354.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1481, allocations: 97.05 kB / 354.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1482, allocations: 3.984 kB / 354.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.1482, allocations: 0 / 354.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1483, allocations: 11.92 kB / 354.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1483, allocations: 0 / 354.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.263e-05/0.1484, allocations: 105.8 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1484, allocations: 4 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1486, allocations: 8 kB / 354.7 MB, free: 14.92 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001104/0.1487, allocations: 107.2 kB / 354.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1489, allocations: 27.92 kB / 354.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1489, allocations: 0 / 354.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.1489, allocations: 11.98 kB / 354.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1493, allocations: 24.28 kB / 354.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.1497, allocations: 197 kB / 355 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1499, allocations: 0.6926 MB / 355.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.15, allocations: 7.984 kB / 355.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.15, allocations: 11.44 kB / 355.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.15, allocations: 0 / 355.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Templates: time 0.00276/0.1528, allocations: 483.1 kB / 356.2 MB, free: 13.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches