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.001577/0.001577, allocations: 92.22 kB / 16.65 MB, free: 6.59 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.00206/0.00206, allocations: 185 kB / 17.57 MB, free: 6.199 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.717/1.717, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003323, allocations: 10.03 kB / 301.5 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 50.41 MB / 351.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003443/0.1436, allocations: 1.549 MB / 353.5 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1456, allocations: 0.6661 MB / 354.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.1459, allocations: 4 kB / 354.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1462, allocations: 23.8 kB / 354.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1465, allocations: 15.92 kB / 354.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.1474, allocations: 143 kB / 354.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.1478, allocations: 135.6 kB / 354.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.1481, allocations: 57.34 kB / 354.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1483, allocations: 43.78 kB / 354.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1485, allocations: 43.7 kB / 354.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.1485, allocations: 4 kB / 354.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1487, allocations: 47.91 kB / 354.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1488, allocations: 39.83 kB / 354.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.149, allocations: 85.25 kB / 354.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1493, allocations: 175.3 kB / 355 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1493, allocations: 4 kB / 355 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1494, allocations: 0 / 355 MB, free: 0.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1494, allocations: 0 / 355 MB, free: 0.543 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.001055/0.1504, allocations: 451.2 kB / 355.4 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/0.1505, allocations: 12.03 kB / 355.4 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.1506, allocations: 46.75 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.1507, allocations: 16.75 kB / 355.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.1512, allocations: 239.9 kB / 355.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1512, allocations: 8.562 kB / 355.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1513, allocations: 15.92 kB / 355.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.1522, allocations: 342.4 kB / 356.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1522, allocations: 0 / 356.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1522, allocations: 4 kB / 356.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1522, allocations: 0 / 356.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.1525, allocations: 99.88 kB / 356.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.1531, allocations: 345.5 kB / 356.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.1536, allocations: 278.2 kB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1539, allocations: 114 kB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.1546, allocations: 0.5778 MB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1547, allocations: 38.56 kB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.1547, allocations: 7.938 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007343/0.1554, allocations: 259.8 kB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1555, allocations: 118.7 kB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1558, allocations: 190.4 kB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1558, allocations: 29.7 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1559, allocations: 104.6 kB / 358.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1559, allocations: 19.83 kB / 358.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.156, allocations: 17.72 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1562, allocations: 334.8 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.1563, allocations: 44.02 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1565, allocations: 171.4 kB / 358.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.1568, allocations: 204.1 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1568, allocations: 4 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004334/0.1573, allocations: 221.5 kB / 359.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1573, allocations: 11.98 kB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1573, allocations: 4 kB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1573, allocations: 4 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1575, allocations: 43.92 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.1575, allocations: 7.938 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.1577, allocations: 27.83 kB / 359.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1577, allocations: 12 kB / 359.3 MB, free: 11.66 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.0002045/0.1579, allocations: 149.9 kB / 359.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.1583, allocations: 169.3 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1587, allocations: 194.3 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1587, allocations: 4 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1587, allocations: 0 / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1587, allocations: 0 / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.159, allocations: 225.5 kB / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.1591, allocations: 11.92 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.1592, allocations: 31.97 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1592, allocations: 7.938 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1593, allocations: 8 kB / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1593, allocations: 0 / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1593, allocations: 0 / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.1597, allocations: 300 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1599, allocations: 124.7 kB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1599, allocations: 0 / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1601, allocations: 19.98 kB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1601, allocations: 0 / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1601, allocations: 7.984 kB / 360.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1603, allocations: 152.3 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1603, allocations: 0 / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.1607, allocations: 31.94 kB / 360.7 MB, free: 10.15 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.001076/0.1618, allocations: 0.9316 MB / 361.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.1621, allocations: 151.8 kB / 361.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1621, allocations: 5.188 kB / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.1622, allocations: 4 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.1629, allocations: 157.7 kB / 362 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1648, allocations: 1.094 MB / 363.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1652, allocations: 0.7326 MB / 363.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.24e-05/0.1653, allocations: 17.55 kB / 363.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.1654, allocations: 47.42 kB / 363.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1654, allocations: 0 / 363.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.183, allocations: 3.809 MB / 367.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.1833, allocations: 229.9 kB / 367.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.461, allocations: 0 / 367.9 MB, free: 2.953 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