Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001073/0.001073, allocations: 104.8 kB / 16.45 MB, free: 6.445 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.001067/0.001067, allocations: 186.4 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07381/0.07381, allocations: 12.59 MB / 283.2 MB, free: 15.38 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002689, allocations: 91 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1506, allocations: 49.41 MB / 443.6 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.003358/0.154, allocations: 1.556 MB / 445.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1551, allocations: 0.5035 MB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1553, allocations: 4 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.391e-05/0.1554, allocations: 3.938 kB / 445.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1555, allocations: 15.8 kB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1559, allocations: 43.89 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.156, allocations: 39.86 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1561, allocations: 23.91 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1562, allocations: 27.91 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.1563, allocations: 15.88 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1564, allocations: 4 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.1564, allocations: 4 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.1565, allocations: 15.92 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1565, allocations: 31.8 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1567, allocations: 47.81 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1567, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1567, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1567, allocations: 0 / 445.9 MB, free: 14.12 MB / 334.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.000605/0.1573, allocations: 375.1 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1574, allocations: 12.03 kB / 446.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1575, allocations: 8.844 kB / 446.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1577, allocations: 204 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1577, allocations: 4.375 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1578, allocations: 4.359 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1581, allocations: 121.3 kB / 446.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1581, allocations: 0 / 446.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1581, allocations: 7.938 kB / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1582, allocations: 0 / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.1583, allocations: 23.97 kB / 446.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.1587, allocations: 261.8 kB / 446.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.159, allocations: 138.2 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.1591, allocations: 33.77 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1591, allocations: 3.984 kB / 447.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1591, allocations: 34.56 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1591, allocations: 0 / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003198/0.1595, allocations: 81.52 kB / 447.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.1595, allocations: 85.03 kB / 447.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1597, allocations: 141.5 kB / 447.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1597, allocations: 29.7 kB / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.1598, allocations: 92.05 kB / 447.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1598, allocations: 0 / 447.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1599, allocations: 17.7 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.16, allocations: 326.9 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.1601, allocations: 11.98 kB / 447.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.1601, allocations: 35.42 kB / 447.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1602, allocations: 51.36 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1603, allocations: 4 kB / 448 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001459/0.1604, allocations: 65.53 kB / 448 MB, free: 11.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1604, allocations: 8 kB / 448 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1605, allocations: 0 / 448 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1605, allocations: 0 / 448 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.1606, allocations: 15.92 kB / 448.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1606, allocations: 8.125 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.1606, allocations: 0 / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1607, allocations: 4 kB / 448.1 MB, free: 11.66 MB / 334.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.0001051/0.1608, allocations: 121.8 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.1609, allocations: 45.61 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1609, allocations: 24.11 kB / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1609, allocations: 0 / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1609, allocations: 0 / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1609, allocations: 336 / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1611, allocations: 181.5 kB / 448.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1611, allocations: 0 / 448.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.1612, allocations: 15.92 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1612, allocations: 0 / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1612, allocations: 0 / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1613, allocations: 0 / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.1613, allocations: 7.984 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1615, allocations: 176.2 kB / 448.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1616, allocations: 89 kB / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1616, allocations: 0 / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1617, allocations: 4 kB / 448.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1617, allocations: 7.984 kB / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1617, allocations: 0 / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.175e-05/0.1618, allocations: 103.3 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1618, allocations: 0 / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1621, allocations: 11.94 kB / 448.8 MB, free: 10.78 MB / 334.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.0001136/0.1622, allocations: 99.23 kB / 448.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1624, allocations: 31.92 kB / 449 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1624, allocations: 0 / 449 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.1624, allocations: 11.98 kB / 449 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1628, allocations: 19.97 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.1632, allocations: 163.9 kB / 449.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1635, allocations: 0.6924 MB / 449.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.1636, allocations: 11.98 kB / 449.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1636, allocations: 11.38 kB / 449.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1636, allocations: 4 kB / 449.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of Templates: time 0.003288/0.167, allocations: 0.524 MB / 450.4 MB, free: 9.148 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches