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.001349/0.001349, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001624/0.001624, allocations: 214 kB / 23.74 MB, free: 4.688 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8 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.00161/0.00161, allocations: 47.94 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4287, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003438/0.4321, allocations: 1.892 MB / 433 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.4336, allocations: 0.7672 MB / 433.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.4337, allocations: 3.938 kB / 433.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.4339, allocations: 27.78 kB / 433.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.434, allocations: 23.8 kB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.4347, allocations: 169.8 kB / 434 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.4349, allocations: 155.5 kB / 434.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4351, allocations: 41.7 kB / 434.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.4352, allocations: 67.78 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.4354, allocations: 63.62 kB / 434.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.4354, allocations: 16 kB / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4355, allocations: 51.97 kB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.4356, allocations: 39.84 kB / 434.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.4357, allocations: 75.53 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.436, allocations: 207.5 kB / 434.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.436, allocations: 4 kB / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.436, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.436, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.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.000754/0.4368, allocations: 405.6 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4368, allocations: 8.031 kB / 435.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.4369, allocations: 42.75 kB / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.437, allocations: 32.78 kB / 435.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.4374, allocations: 195.5 kB / 435.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4374, allocations: 12.5 kB / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4374, allocations: 11.94 kB / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.4382, allocations: 340.1 kB / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4382, allocations: 0 / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4382, allocations: 0 / 435.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4382, allocations: 4 kB / 435.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.4385, allocations: 83.88 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.4389, allocations: 320.6 kB / 436.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.4394, allocations: 177.2 kB / 436.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.4396, allocations: 97.67 kB / 436.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.44, allocations: 51.94 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.44, allocations: 46.55 kB / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.44, allocations: 0 / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005985/0.4406, allocations: 240.4 kB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.4408, allocations: 122.7 kB / 436.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.441, allocations: 190.6 kB / 437.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.441, allocations: 33.83 kB / 437.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.4411, allocations: 100.6 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.4411, allocations: 23.83 kB / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.4412, allocations: 41.7 kB / 437.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4413, allocations: 326.8 kB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.4414, allocations: 43.97 kB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.4416, allocations: 159.7 kB / 437.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.4419, allocations: 208.1 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4419, allocations: 0 / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003647/0.4422, allocations: 221.2 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4422, allocations: 11.12 kB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4422, allocations: 4 kB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4423, allocations: 4 kB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4424, allocations: 39.92 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.4424, allocations: 11.98 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4425, allocations: 20.3 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4426, allocations: 15.98 kB / 438.3 MB, free: 15.34 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 0.0001518/0.4427, allocations: 153.7 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.443, allocations: 165.4 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.4434, allocations: 175.3 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4434, allocations: 0 / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4434, allocations: 4 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4434, allocations: 11.92 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.4436, allocations: 204.4 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4437, allocations: 3.984 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4438, allocations: 31.92 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4438, allocations: 4 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4438, allocations: 4 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4438, allocations: 0 / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4438, allocations: 4 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.4442, allocations: 288.1 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.4443, allocations: 35.83 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4444, allocations: 19.92 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.4445, allocations: 4 kB / 439.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.4445, allocations: 7.984 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4445, allocations: 8 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4447, allocations: 156 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4447, allocations: 0 / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.445, allocations: 28 kB / 439.6 MB, free: 13.98 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.001027/0.446, allocations: 0.9277 MB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.4464, allocations: 132.7 kB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4464, allocations: 256 / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.4464, allocations: 15.98 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.447, allocations: 140.5 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.4497, allocations: 2.17 MB / 443 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.4502, allocations: 0.7399 MB / 443.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.967e-05/0.4502, allocations: 17.47 kB / 443.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.4503, allocations: 43.42 kB / 443.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4503, allocations: 0 / 443.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.4841, allocations: 4.528 MB / 448.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12, allocations: 0 / 448.3 MB, free: 5.168 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.62086923001334]