Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",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.001918/0.001919, allocations: 109.3 kB / 16.92 MB, free: 5.758 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.002049/0.002049, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.958/1.958, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 43.16 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005478/0.1613, allocations: 1.847 MB / 352 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1636, allocations: 0.6855 MB / 352.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.164, allocations: 7.938 kB / 352.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1643, allocations: 19.8 kB / 352.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1647, allocations: 23.8 kB / 352.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1658, allocations: 166 kB / 352.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.1663, allocations: 139.7 kB / 353 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.1666, allocations: 65.33 kB / 353.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1669, allocations: 63.7 kB / 353.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1671, allocations: 55.7 kB / 353.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.972e-05/0.1672, allocations: 12 kB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1674, allocations: 51.91 kB / 353.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.1676, allocations: 39.89 kB / 353.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1678, allocations: 79.47 kB / 353.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.1682, allocations: 187.4 kB / 353.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1682, allocations: 4 kB / 353.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1682, allocations: 0 / 353.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.1683, allocations: 4 kB / 353.6 MB, free: 0.8906 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001102/0.1694, allocations: 475.1 kB / 354.1 MB, free: 388 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.1694, allocations: 12.02 kB / 354.1 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.1695, allocations: 38.75 kB / 354.1 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.1696, allocations: 16.75 kB / 354.1 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.17, allocations: 247.8 kB / 354.4 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.17, allocations: 12.56 kB / 354.4 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.17, allocations: 11.94 kB / 354.4 MB, free: 0 / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.1708, allocations: 322.5 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1708, allocations: 3.938 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1709, allocations: 4 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.1709, allocations: 0 / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.1712, allocations: 91.81 kB / 354.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.1718, allocations: 345.6 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.1725, allocations: 266.4 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1728, allocations: 101.7 kB / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.1739, allocations: 0.5778 MB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.1739, allocations: 38.56 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.1739, allocations: 0 / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007217/0.1747, allocations: 243.8 kB / 356.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.1748, allocations: 114.8 kB / 356.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1751, allocations: 199.3 kB / 356.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1751, allocations: 29.7 kB / 356.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.1752, allocations: 108.5 kB / 356.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1753, allocations: 19.8 kB / 356.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.1754, allocations: 41.7 kB / 356.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1756, allocations: 326.8 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.1757, allocations: 35.97 kB / 357.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.1759, allocations: 164.1 kB / 357.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1762, allocations: 208.1 kB / 357.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1762, allocations: 0 / 357.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004425/0.1767, allocations: 221.1 kB / 357.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1767, allocations: 4 kB / 357.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.1767, allocations: 8 kB / 357.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.1768, allocations: 4 kB / 357.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.177, allocations: 39.92 kB / 357.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.177, allocations: 11.98 kB / 357.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1771, allocations: 20.31 kB / 357.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1772, allocations: 12 kB / 357.9 MB, free: 12.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001924/0.1774, allocations: 145.4 kB / 358 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/0.1777, allocations: 165.2 kB / 358.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.1781, allocations: 182.4 kB / 358.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1781, allocations: 4 kB / 358.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1782, allocations: 0 / 358.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.1782, allocations: 4 kB / 358.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.1785, allocations: 237.3 kB / 358.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1785, allocations: 0 / 358.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1786, allocations: 39.84 kB / 358.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1787, allocations: 0 / 358.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1787, allocations: 4 kB / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1787, allocations: 0 / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1787, allocations: 0 / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1792, allocations: 292 kB / 358.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1793, allocations: 112.9 kB / 359 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.1794, allocations: 11.98 kB / 359.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1795, allocations: 12 kB / 359.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1796, allocations: 11.92 kB / 359.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1796, allocations: 8 kB / 359.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1797, allocations: 147.4 kB / 359.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1797, allocations: 0 / 359.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1801, allocations: 28 kB / 359.3 MB, free: 10.58 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001055/0.1811, allocations: 0.9324 MB / 360.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1816, allocations: 144.9 kB / 360.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1816, allocations: 8.062 kB / 360.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.1816, allocations: 11.98 kB / 360.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.1823, allocations: 141.6 kB / 360.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1843, allocations: 1.03 MB / 361.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.1847, allocations: 0.736 MB / 362.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.1848, allocations: 13.55 kB / 362.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.1849, allocations: 47.42 kB / 362.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1849, allocations: 0 / 362.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.2184, allocations: 4.133 MB / 366.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.166/9.385, allocations: 7.625 kB / 366.5 MB, free: 3.34 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches