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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.00114/0.00114, allocations: 108.5 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.001161/0.001161, 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 47.44 kB / 300.1 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 49.45 MB / 349.5 MB, free: 4.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004021/0.1587, allocations: 1.62 MB / 351.1 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.1595, allocations: 478.8 kB / 351.6 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.1596, allocations: 3.938 kB / 351.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.205e-05/0.1597, allocations: 0 / 351.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.1599, allocations: 11.92 kB / 351.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1601, allocations: 37.03 kB / 351.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1603, allocations: 43.86 kB / 351.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1604, allocations: 19.97 kB / 351.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.1605, allocations: 15.92 kB / 351.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.1605, allocations: 19.88 kB / 351.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1606, allocations: 0 / 351.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1606, allocations: 4 kB / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.1606, allocations: 19.91 kB / 351.8 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.1607, allocations: 27.8 kB / 351.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1608, allocations: 39.83 kB / 351.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1609, allocations: 0 / 351.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1609, allocations: 0 / 351.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1609, allocations: 4 kB / 351.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007093/0.1616, allocations: 383.4 kB / 352.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.411e-05/0.1617, allocations: 11.97 kB / 352.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.1618, allocations: 34.75 kB / 352.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.1618, allocations: 16.75 kB / 352.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1621, allocations: 180.3 kB / 352.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1621, allocations: 4.375 kB / 352.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1622, allocations: 8.359 kB / 352.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1625, allocations: 117.2 kB / 352.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1625, allocations: 3.938 kB / 352.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1625, allocations: 7.938 kB / 352.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1625, allocations: 0 / 352.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-05/0.1626, allocations: 19.98 kB / 352.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.163, allocations: 273.6 kB / 352.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1632, allocations: 138.2 kB / 353 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.1633, allocations: 33.77 kB / 353 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1633, allocations: 0 / 353 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1634, allocations: 30.56 kB / 353.1 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.546e-06/0.1634, allocations: 0 / 353.1 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002777/0.1637, allocations: 93.48 kB / 353.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.1637, allocations: 81.05 kB / 353.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1639, allocations: 141.1 kB / 353.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1639, allocations: 25.7 kB / 353.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.164, allocations: 92.12 kB / 353.5 MB, free: 440 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.164, allocations: 0 / 353.5 MB, free: 440 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.164, allocations: 21.62 kB / 353.5 MB, free: 412 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1642, allocations: 318.8 kB / 353.8 MB, free: 84 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.1642, allocations: 12 kB / 353.8 MB, free: 72 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.1643, allocations: 39.42 kB / 353.9 MB, free: 20 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1644, allocations: 43.36 kB / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1644, allocations: 0 / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000147/0.1646, allocations: 69.61 kB / 354 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1646, allocations: 4 kB / 354 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1646, allocations: 4 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1646, allocations: 0 / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.1647, allocations: 11.94 kB / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1647, allocations: 0 / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1648, allocations: 11.98 kB / 354 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1648, allocations: 3.938 kB / 354 MB, free: 15.86 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 9.472e-05/0.1649, allocations: 125.9 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.165, allocations: 49.59 kB / 354.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.165, allocations: 4.25 kB / 354.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.165, allocations: 4 kB / 354.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.165, allocations: 4 kB / 354.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.165, allocations: 0 / 354.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1652, allocations: 173.6 kB / 354.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1652, allocations: 7.938 kB / 354.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.1653, allocations: 7.938 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1653, allocations: 8 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1653, allocations: 4 kB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1653, allocations: 0 / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1653, allocations: 0 / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1656, allocations: 168.2 kB / 354.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.1656, allocations: 93 kB / 354.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.1657, allocations: 11.98 kB / 354.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.1658, allocations: 0 / 354.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1658, allocations: 0 / 354.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1658, allocations: 4 kB / 354.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.678e-05/0.1659, allocations: 107.2 kB / 354.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1659, allocations: 3.938 kB / 354.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1661, allocations: 4 kB / 354.8 MB, free: 14.98 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.0005109/0.1667, allocations: 0.7053 MB / 355.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1668, allocations: 31.92 kB / 355.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1668, allocations: 0 / 355.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.1669, allocations: 16.23 kB / 355.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1673, allocations: 20.59 kB / 355.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1687, allocations: 1.384 MB / 356.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.169, allocations: 0.6887 MB / 357.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.386e-05/0.169, allocations: 4 kB / 357.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.1691, allocations: 27.36 kB / 357.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1691, allocations: 0 / 357.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.1826, allocations: 1.379 MB / 359 MB, free: 10.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.183, allocations: 210.6 kB / 359.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.02, allocations: 7.938 kB / 359.3 MB, free: 10.41 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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