Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 53.33 MB / 426.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003676/0.1058, allocations: 1.879 MB / 428.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1073, allocations: 0.7595 MB / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.1074, allocations: 7.938 kB / 429 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.1076, allocations: 23.73 kB / 429 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1078, allocations: 27.78 kB / 429 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.1084, allocations: 159.6 kB / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1087, allocations: 147.6 kB / 429.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1088, allocations: 41.53 kB / 429.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.109, allocations: 63.72 kB / 429.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1092, allocations: 67.61 kB / 429.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.1092, allocations: 12 kB / 429.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1093, allocations: 55.97 kB / 429.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.1094, allocations: 47.78 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.1095, allocations: 75.52 kB / 429.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1098, allocations: 203.1 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1098, allocations: 0 / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1098, allocations: 0 / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1099, allocations: 4 kB / 429.9 MB, free: 1.207 MB / 350.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.000896/0.1108, allocations: 486.7 kB / 430.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1108, allocations: 8.031 kB / 430.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.1109, allocations: 38.75 kB / 430.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.1111, allocations: 32.78 kB / 430.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.1115, allocations: 260.1 kB / 430.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1115, allocations: 4.562 kB / 430.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1115, allocations: 11.94 kB / 430.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1724/0.2839, allocations: 328.1 kB / 431 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2839, allocations: 0 / 431 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.284, allocations: 1.344 kB / 431 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.284, allocations: 2.875 kB / 431 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2843, allocations: 82.55 kB / 431.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.2846, allocations: 342.5 kB / 431.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.2851, allocations: 259.4 kB / 431.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2853, allocations: 92.34 kB / 431.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/0.2858, allocations: 0.5847 MB / 432.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2858, allocations: 33.31 kB / 432.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.2858, allocations: 0.6562 kB / 432.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005965/0.2864, allocations: 242.7 kB / 432.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.2865, allocations: 123.8 kB / 432.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2866, allocations: 195.3 kB / 432.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2866, allocations: 26.36 kB / 433 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.2867, allocations: 111.6 kB / 433.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2867, allocations: 26.22 kB / 433.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.2867, allocations: 41.94 kB / 433.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.2868, allocations: 329.7 kB / 433.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.2869, allocations: 32.67 kB / 433.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.287, allocations: 165.3 kB / 433.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.2872, allocations: 209.2 kB / 433.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2872, allocations: 0 / 433.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002813/0.2875, allocations: 220.3 kB / 434.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2875, allocations: 10.34 kB / 434.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2875, allocations: 6 kB / 434.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2875, allocations: 8.906 kB / 434.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2877, allocations: 39.88 kB / 434.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2877, allocations: 11.56 kB / 434.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2878, allocations: 18.55 kB / 434.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2878, allocations: 9 kB / 434.2 MB, free: 8.98 MB / 350.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 9.589e-05/0.2879, allocations: 151.1 kB / 434.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.2882, allocations: 163.1 kB / 434.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.2885, allocations: 181.8 kB / 434.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2885, allocations: 2.656 kB / 434.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2885, allocations: 0.8906 kB / 434.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2885, allocations: 5.781 kB / 434.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2887, allocations: 231.5 kB / 434.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.2887, allocations: 1.125 kB / 434.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2888, allocations: 40.34 kB / 434.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2888, allocations: 1.094 kB / 434.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2888, allocations: 5.172 kB / 435 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2888, allocations: 1.469 kB / 435 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2888, allocations: 2.781 kB / 435 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.2892, allocations: 283.8 kB / 435.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.2892, allocations: 128.5 kB / 435.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.2893, allocations: 7.156 kB / 435.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2894, allocations: 12.14 kB / 435.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.2894, allocations: 1.688 kB / 435.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.2894, allocations: 8.641 kB / 435.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.2895, allocations: 146.9 kB / 435.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2895, allocations: 1.344 kB / 435.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.2898, allocations: 28.28 kB / 435.6 MB, free: 8.23 MB / 350.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.0007224/0.2906, allocations: 0.9242 MB / 436.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.2909, allocations: 143.5 kB / 436.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2909, allocations: 1.062 kB / 436.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.2909, allocations: 11.84 kB / 436.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.2915, allocations: 142.5 kB / 436.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2933, allocations: 2.167 MB / 438.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2935, allocations: 0.7286 MB / 439.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.2935, allocations: 20.56 kB / 439.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.2936, allocations: 44.66 kB / 439.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2936, allocations: 1.094 kB / 439.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3231, allocations: 4.324 MB / 444.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.438, allocations: 1.344 kB / 444.1 MB, free: 4.523 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.792948910966516]