Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 103.8 kB / 16.51 MB, free: 6.645 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.001279/0.001279, allocations: 195.1 kB / 17.42 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.544/1.544, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 51.72 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.15, allocations: 49.44 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.004934/0.155, allocations: 1.542 MB / 351.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.156, allocations: 430.9 kB / 351.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.1561, allocations: 4 kB / 351.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.1562, allocations: 0 / 351.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.537e-05/0.1563, allocations: 7.922 kB / 351.5 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.1567, allocations: 27.92 kB / 351.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1568, allocations: 39.84 kB / 351.6 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.157, allocations: 15.98 kB / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1571, allocations: 15.88 kB / 351.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.1572, allocations: 15.92 kB / 351.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1572, allocations: 0 / 351.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.958e-05/0.1573, allocations: 4 kB / 351.6 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.1573, allocations: 4 kB / 351.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.1574, allocations: 23.84 kB / 351.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1575, allocations: 27.91 kB / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1575, allocations: 0 / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1575, allocations: 4 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1575, allocations: 4 kB / 351.7 MB, free: 2.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007792/0.1583, allocations: 351.6 kB / 352 MB, free: 2.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1584, allocations: 15.97 kB / 352 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.1584, allocations: 30.75 kB / 352.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1585, allocations: 8.844 kB / 352.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1587, allocations: 176.3 kB / 352.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1587, allocations: 4.359 kB / 352.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1588, allocations: 4.375 kB / 352.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.1591, allocations: 123.3 kB / 352.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1592, allocations: 0 / 352.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1592, allocations: 3.984 kB / 352.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1592, allocations: 4 kB / 352.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.1593, allocations: 23.97 kB / 352.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.1595, allocations: 161.7 kB / 352.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1597, allocations: 58.48 kB / 352.6 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.1598, allocations: 24.92 kB / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1598, allocations: 0 / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1599, allocations: 42.5 kB / 352.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1599, allocations: 4 kB / 352.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002598/0.1601, allocations: 73.66 kB / 352.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.1602, allocations: 51.41 kB / 352.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1603, allocations: 117.8 kB / 352.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1604, allocations: 25.7 kB / 352.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1604, allocations: 88.14 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.1605, allocations: 0 / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1605, allocations: 13.72 kB / 353 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1607, allocations: 326.8 kB / 353.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.1607, allocations: 4 kB / 353.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.1608, allocations: 27.44 kB / 353.4 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.1608, allocations: 39.36 kB / 353.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1608, allocations: 384 / 353.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.874e-05/0.1609, allocations: 57.48 kB / 353.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.161, allocations: 10.81 kB / 353.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.161, allocations: 0 / 353.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.161, allocations: 7.922 kB / 353.5 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1611, allocations: 11.94 kB / 353.5 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1612, allocations: 3.938 kB / 353.5 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.1612, allocations: 4.125 kB / 353.5 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1612, allocations: 4 kB / 353.5 MB, free: 472 kB / 286.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.000113/0.1613, allocations: 113.8 kB / 353.6 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1615, allocations: 61.61 kB / 353.7 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.1615, allocations: 7.906 kB / 353.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1615, allocations: 0 / 353.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1615, allocations: 0 / 353.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1616, allocations: 0 / 353.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1617, allocations: 169.6 kB / 353.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1618, allocations: 0 / 353.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1618, allocations: 11.88 kB / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1618, allocations: 3.984 kB / 353.9 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1619, allocations: 4 kB / 353.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1619, allocations: 3.984 kB / 353.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1619, allocations: 336 / 353.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1621, allocations: 89.09 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.1624, allocations: 92.95 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1624, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.1624, allocations: 7.984 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-06/0.1625, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1625, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.581e-05/0.1625, allocations: 87.28 kB / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1625, allocations: 0 / 354.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.1627, allocations: 8 kB / 354.2 MB, free: 15.7 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.0007067/0.1635, allocations: 0.6357 MB / 354.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1636, allocations: 27.92 kB / 354.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1637, allocations: 0 / 354.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.1637, allocations: 0 / 354.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.164, allocations: 30.89 kB / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1656, allocations: 1.188 MB / 356.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.1661, allocations: 0.6848 MB / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.1661, allocations: 0 / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.1662, allocations: 15.44 kB / 356.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1662, allocations: 0 / 356.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.1833, allocations: 1.177 MB / 357.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003614/0.1837, allocations: 215.2 kB / 358.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.169, allocations: 3.938 kB / 358.1 MB, free: 11.65 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches