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.001166/0.001166, allocations: 112.8 kB / 16.63 MB, free: 6.332 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.001181/0.00118, allocations: 189.9 kB / 17.55 MB, free: 5.801 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.521/1.521, allocations: 222.9 MB / 241.2 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 47.11 kB / 300.2 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 49.45 MB / 349.7 MB, free: 4.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.004159/0.1481, allocations: 1.546 MB / 351.2 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1493, allocations: 435 kB / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1494, allocations: 0 / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.1495, allocations: 3.938 kB / 351.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1496, allocations: 7.938 kB / 351.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.15, allocations: 27.09 kB / 351.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1501, allocations: 39.8 kB / 351.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1503, allocations: 8 kB / 351.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1504, allocations: 23.91 kB / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1505, allocations: 15.92 kB / 351.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1505, allocations: 4 kB / 351.8 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.1505, allocations: 4 kB / 351.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.1506, allocations: 3.938 kB / 351.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.1506, allocations: 15.94 kB / 351.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1508, allocations: 43.81 kB / 351.9 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1508, allocations: 0 / 351.9 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1508, allocations: 0 / 351.9 MB, free: 2.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1508, allocations: 4 kB / 351.9 MB, free: 2.348 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.0006761/0.1515, allocations: 347.6 kB / 352.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/0.1516, allocations: 12.03 kB / 352.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.1516, allocations: 34.75 kB / 352.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1517, allocations: 8.844 kB / 352.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.152, allocations: 184.2 kB / 352.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.152, allocations: 384 / 352.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1521, allocations: 4.375 kB / 352.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.1525, allocations: 115.3 kB / 352.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1525, allocations: 0 / 352.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1526, allocations: 0 / 352.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1526, allocations: 8 kB / 352.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1527, allocations: 27.91 kB / 352.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.1529, allocations: 165.6 kB / 352.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1531, allocations: 54.55 kB / 352.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.136e-05/0.1532, allocations: 24.92 kB / 352.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1532, allocations: 7.984 kB / 352.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1533, allocations: 38.5 kB / 352.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1533, allocations: 0 / 352.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003141/0.1536, allocations: 73.61 kB / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.1537, allocations: 51.41 kB / 353 MB, free: 1.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1538, allocations: 113.8 kB / 353.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1539, allocations: 25.7 kB / 353.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.1539, allocations: 96.12 kB / 353.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.154, allocations: 0 / 353.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.154, allocations: 13.72 kB / 353.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1542, allocations: 314.8 kB / 353.5 MB, free: 444 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.1542, allocations: 3.984 kB / 353.5 MB, free: 440 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.1542, allocations: 31.44 kB / 353.6 MB, free: 396 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.1543, allocations: 39.38 kB / 353.6 MB, free: 344 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1543, allocations: 0 / 353.6 MB, free: 344 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.1544, allocations: 65.41 kB / 353.7 MB, free: 272 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1545, allocations: 11.94 kB / 353.7 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1545, allocations: 128 / 353.7 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.1545, allocations: 4 kB / 353.7 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.1546, allocations: 8 kB / 353.7 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1546, allocations: 0 / 353.7 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.1546, allocations: 3.984 kB / 353.7 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1547, allocations: 4 kB / 353.7 MB, free: 240 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.0001156/0.1548, allocations: 113.8 kB / 353.8 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1549, allocations: 61.56 kB / 353.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.155, allocations: 11.89 kB / 353.9 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.155, allocations: 4 kB / 353.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.155, allocations: 0 / 353.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.155, allocations: 0 / 353.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1552, allocations: 161.9 kB / 354.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1552, allocations: 4 kB / 354.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.1553, allocations: 7.938 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1553, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1553, allocations: 7.938 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.1553, allocations: 4 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1553, allocations: 0 / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.1555, allocations: 93.38 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.1556, allocations: 96.97 kB / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1556, allocations: 0 / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.1557, allocations: 4 kB / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-06/0.1557, allocations: 0 / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1557, allocations: 0 / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.1558, allocations: 91.27 kB / 354.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1558, allocations: 4 kB / 354.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.156, allocations: 4 kB / 354.4 MB, free: 15.47 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.00065/0.1566, allocations: 0.6279 MB / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1568, allocations: 28.11 kB / 355 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1568, allocations: 4.062 kB / 355 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1568, allocations: 0 / 355 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1571, allocations: 27.92 kB / 355.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.1587, allocations: 1.198 MB / 356.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1591, allocations: 0.6846 MB / 356.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.646e-05/0.1591, allocations: 0 / 356.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.1592, allocations: 15.44 kB / 356.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1592, allocations: 0 / 356.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.1756, allocations: 1.22 MB / 358.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.1759, allocations: 213.5 kB / 358.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.219, allocations: 4 kB / 358.4 MB, free: 11.39 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