Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001272/0.001272, 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.001524/0.001525, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.72 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1717, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004624/0.1764, allocations: 1.579 MB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1778, allocations: 0.5337 MB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.178, allocations: 3.938 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.202e-05/0.1781, allocations: 7.922 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1783, allocations: 15.88 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1788, allocations: 55.81 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1789, allocations: 39.92 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1791, allocations: 19.98 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1793, allocations: 27.84 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.1794, allocations: 23.86 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1794, allocations: 4 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.1794, allocations: 4 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1795, allocations: 15.92 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1796, allocations: 23.81 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1798, allocations: 59.8 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1798, allocations: 0 / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1798, allocations: 0 / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1798, allocations: 0 / 360 MB, free: 11.56 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006934/0.1805, allocations: 391.3 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1806, allocations: 8.031 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.1806, allocations: 34.75 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1808, allocations: 16.83 kB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.181, allocations: 196.1 kB / 360.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1811, allocations: 8.359 kB / 360.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1811, allocations: 8.375 kB / 360.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.1814, allocations: 113.2 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1815, allocations: 0 / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1815, allocations: 4 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1815, allocations: 8 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1816, allocations: 23.92 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.182, allocations: 265.7 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1823, allocations: 146.2 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.1824, allocations: 29.77 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1825, allocations: 0 / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1825, allocations: 34.55 kB / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1825, allocations: 0 / 361.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003099/0.1828, allocations: 81.52 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.1829, allocations: 85.11 kB / 361.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1831, allocations: 136.6 kB / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1831, allocations: 25.7 kB / 361.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.1832, allocations: 92.12 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1833, allocations: 7.906 kB / 361.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.1833, allocations: 17.72 kB / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.1836, allocations: 330.9 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.1836, allocations: 7.938 kB / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.1837, allocations: 39.59 kB / 362.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1838, allocations: 51.3 kB / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1838, allocations: 0 / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001897/0.184, allocations: 69.61 kB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.1841, allocations: 8 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1841, allocations: 0 / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/0.1841, allocations: 0 / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.1842, allocations: 11.98 kB / 362.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1843, allocations: 4.125 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.1843, allocations: 7.906 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1843, allocations: 4 kB / 362.2 MB, free: 9.035 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.0001514/0.1845, allocations: 126.8 kB / 362.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.1846, allocations: 49.59 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1846, allocations: 12.25 kB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1847, allocations: 0 / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.1847, allocations: 3.984 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1847, allocations: 0 / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1849, allocations: 177.6 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1849, allocations: 0 / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.185, allocations: 8 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.185, allocations: 3.984 kB / 362.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.185, allocations: 0 / 362.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.185, allocations: 0 / 362.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1851, allocations: 7.938 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1853, allocations: 172.2 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1854, allocations: 93 kB / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1855, allocations: 0 / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1855, allocations: 8 kB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1856, allocations: 3.938 kB / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1856, allocations: 4 kB / 362.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1857, allocations: 113.7 kB / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1857, allocations: 0 / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.186, allocations: 4 kB / 363 MB, free: 8.156 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.0006875/0.1867, allocations: 0.7015 MB / 363.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1869, allocations: 36.09 kB / 363.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1869, allocations: 4.062 kB / 363.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.187, allocations: 4 kB / 363.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.1875, allocations: 31.89 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1891, allocations: 1.365 MB / 365.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1894, allocations: 0.6962 MB / 365.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.1895, allocations: 3.984 kB / 365.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.1895, allocations: 19.44 kB / 365.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1895, allocations: 0 / 365.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.2113, allocations: 1.542 MB / 367.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.221, allocations: 7.922 kB / 367.4 MB, free: 3.672 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches