Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 64.05 kB / 307 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1419, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.004499/0.1464, allocations: 1.492 MB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1478, allocations: 488.4 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.148, allocations: 4 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.905e-05/0.1481, allocations: 3.938 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1482, allocations: 3.938 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.1487, allocations: 31.91 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1489, allocations: 35.86 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1491, allocations: 15.92 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.1493, allocations: 23.91 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.1494, allocations: 15.94 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1494, allocations: 4 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.1495, allocations: 8 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.1496, allocations: 15.92 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.1496, allocations: 11.94 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1498, allocations: 43.81 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1498, allocations: 0 / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.173e-06/0.1499, allocations: 0 / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1499, allocations: 3.938 kB / 359.7 MB, free: 11.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008626/0.1507, allocations: 351.6 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/0.1508, allocations: 12.03 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.1511, allocations: 20.83 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1514, allocations: 172.3 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1514, allocations: 4.375 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1514, allocations: 384 / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.1519, allocations: 131.5 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1519, allocations: 3.938 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1519, allocations: 4 kB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1519, allocations: 0 / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.908e-05/0.152, allocations: 19.98 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.1523, allocations: 157.7 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1524, allocations: 54.59 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.1525, allocations: 28.89 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1525, allocations: 0 / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.1526, allocations: 42.48 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1526, allocations: 3.938 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002665/0.1529, allocations: 65.67 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.153, allocations: 59.41 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1531, allocations: 113.8 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1531, allocations: 29.7 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1532, allocations: 88.08 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.1532, allocations: 0 / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.1532, allocations: 21.7 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1534, allocations: 310.8 kB / 361.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.1534, allocations: 4 kB / 361.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.1535, allocations: 43.53 kB / 361.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.1536, allocations: 39.38 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1536, allocations: 0 / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.763e-05/0.1537, allocations: 61.56 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1537, allocations: 7.938 kB / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1537, allocations: 0 / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1537, allocations: 4 kB / 361.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.1538, allocations: 4 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1538, allocations: 4 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1538, allocations: 0 / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1539, allocations: 4 kB / 361.5 MB, free: 9.766 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 0.0001177/0.154, allocations: 117.8 kB / 361.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.1541, allocations: 69.7 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1542, allocations: 3.906 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1542, allocations: 4 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1542, allocations: 0 / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1542, allocations: 0 / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1544, allocations: 161.6 kB / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1544, allocations: 0 / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.1545, allocations: 11.98 kB / 361.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1545, allocations: 3.938 kB / 361.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1545, allocations: 4 kB / 361.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1545, allocations: 4 kB / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1545, allocations: 0 / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1547, allocations: 89.05 kB / 362 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1549, allocations: 84.95 kB / 362.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1549, allocations: 7.984 kB / 362.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.1549, allocations: 0 / 362.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-06/0.1549, allocations: 0 / 362.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.155, allocations: 8 kB / 362.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1551, allocations: 91.58 kB / 362.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1551, allocations: 3.938 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1553, allocations: 8 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002023/0.1555, allocations: 99.19 kB / 362.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1557, allocations: 27.92 kB / 362.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1557, allocations: 256 / 362.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1557, allocations: 4 kB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.156, allocations: 24.02 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.1565, allocations: 130.5 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.1572, allocations: 0.6807 MB / 363.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.609e-05/0.1573, allocations: 11.98 kB / 363.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1573, allocations: 7.438 kB / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1573, allocations: 0 / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of Templates: time 0.003434/0.1608, allocations: 363.3 kB / 363.5 MB, free: 7.605 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches