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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8621/0.8621, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.265e-05, allocations: 8.609 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003094/0.003116, allocations: 1.815 MB / 320.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.003964, allocations: 0.6464 MB / 320.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.004057, allocations: 7.938 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.004177, allocations: 19.8 kB / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.004324, allocations: 31.72 kB / 321 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.004783, allocations: 166 kB / 321.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.00497, allocations: 151.6 kB / 321.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.005097, allocations: 41.72 kB / 321.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.00521, allocations: 79.73 kB / 321.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.005304, allocations: 51.81 kB / 321.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.005331, allocations: 12 kB / 321.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.005411, allocations: 43.97 kB / 321.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.005491, allocations: 47.83 kB / 321.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.00554, allocations: 43.84 kB / 321.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.005774, allocations: 207.4 kB / 321.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005777, allocations: 4 kB / 321.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005778, allocations: 0 / 321.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.005783, allocations: 0 / 321.8 MB, free: 2.992 MB / 282.7 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.0005036/0.006286, allocations: 405.5 kB / 322.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.00632, allocations: 16.86 kB / 322.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.006353, allocations: 38.75 kB / 322.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.006387, allocations: 20.8 kB / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.006602, allocations: 185.6 kB / 322.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.006614, allocations: 12.5 kB / 322.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.006627, allocations: 8.375 kB / 322.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.007053, allocations: 357.2 kB / 322.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.007061, allocations: 0 / 322.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.007073, allocations: 4 kB / 322.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.007078, allocations: 0 / 322.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.007215, allocations: 79.94 kB / 322.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.007515, allocations: 296.6 kB / 323.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.007799, allocations: 177.4 kB / 323.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.007907, allocations: 93.67 kB / 323.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.008146, allocations: 59.92 kB / 323.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.008168, allocations: 42.56 kB / 323.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.008169, allocations: 3.938 kB / 323.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.000348/0.008517, allocations: 240.2 kB / 323.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.008581, allocations: 118.8 kB / 323.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008696, allocations: 186.4 kB / 324.1 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.008711, allocations: 33.64 kB / 324.1 MB, free: 464 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.00876, allocations: 108.7 kB / 324.2 MB, free: 352 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.008775, allocations: 11.95 kB / 324.2 MB, free: 340 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.008806, allocations: 21.7 kB / 324.3 MB, free: 312 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.008896, allocations: 326.8 kB / 324.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.008934, allocations: 23.98 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.008992, allocations: 89.91 kB / 324.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.00906, allocations: 63.41 kB / 324.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009062, allocations: 8.031 kB / 324.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000145/0.009207, allocations: 113.5 kB / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.009218, allocations: 7.984 kB / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009223, allocations: 0 / 324.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.009235, allocations: 4 kB / 324.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.009287, allocations: 8 kB / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.009294, allocations: 4 kB / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.009333, allocations: 12.05 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.009338, allocations: 4 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.919e-05/0.009437, allocations: 145.7 kB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.009613, allocations: 157.5 kB / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.00983, allocations: 181.8 kB / 325.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.009834, allocations: 4 kB / 325.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.009839, allocations: 0 / 325.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009843, allocations: 3.938 kB / 325.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.009983, allocations: 172.7 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.009989, allocations: 11.94 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.01007, allocations: 35.97 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01007, allocations: 0 / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01008, allocations: 0 / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01008, allocations: 4 kB / 325.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01008, allocations: 0 / 325.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.01031, allocations: 284.1 kB / 325.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.01037, allocations: 55.77 kB / 325.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01039, allocations: 8 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.01045, allocations: 7.984 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.01047, allocations: 0 / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01048, allocations: 15.92 kB / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.01056, allocations: 144.3 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01074, allocations: 28 kB / 326.1 MB, free: 14.29 MB / 298.7 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.0005694/0.01131, allocations: 0.9122 MB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.01147, allocations: 101.3 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01147, allocations: 0 / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.01149, allocations: 7.938 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.01186, allocations: 157.1 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.01311, allocations: 1.821 MB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.01318, allocations: 127.6 kB / 329.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.01322, allocations: 9.141 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.01327, allocations: 44.48 kB / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01327, allocations: 0 / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.02876, allocations: 4.952 MB / 334.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/6.924, allocations: 15.86 kB / 334.3 MB, free: 6.137 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.560038169845939]