Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002208/0.002208, allocations: 216.2 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2489, allocations: 53.4 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003332/0.2522, allocations: 1.899 MB / 433.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2537, allocations: 0.7594 MB / 433.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2538, allocations: 7.938 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.254, allocations: 23.8 kB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.2541, allocations: 31.72 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.2547, allocations: 163.1 kB / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.255, allocations: 155.5 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2551, allocations: 37.73 kB / 434.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.2553, allocations: 71.7 kB / 434.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2554, allocations: 59.69 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.2555, allocations: 16 kB / 434.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2556, allocations: 55.97 kB / 434.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.2557, allocations: 47.83 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.2558, allocations: 71.48 kB / 434.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.2561, allocations: 207.5 kB / 434.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2561, allocations: 0 / 434.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2561, allocations: 3.938 kB / 434.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2561, allocations: 0 / 434.8 MB, free: 3.086 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.0007244/0.2568, allocations: 405.6 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2569, allocations: 12.03 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.2569, allocations: 42.73 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.2571, allocations: 28.78 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.2575, allocations: 186.9 kB / 435.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2575, allocations: 4.562 kB / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.2575, allocations: 19.94 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.2582, allocations: 336.7 kB / 435.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2582, allocations: 7.938 kB / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2582, allocations: 0 / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2582, allocations: 0 / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.2585, allocations: 83.94 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.2589, allocations: 320.6 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.2594, allocations: 181 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2596, allocations: 98.02 kB / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/0.26, allocations: 59.88 kB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2601, allocations: 30.56 kB / 436.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.2601, allocations: 0 / 436.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006047/0.2607, allocations: 249.2 kB / 436.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.2608, allocations: 110.8 kB / 436.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.261, allocations: 194.6 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.261, allocations: 33.7 kB / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.2611, allocations: 100.6 kB / 437.2 MB, free: 432 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.2611, allocations: 23.97 kB / 437.3 MB, free: 408 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.2612, allocations: 41.7 kB / 437.3 MB, free: 360 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2613, allocations: 326.8 kB / 437.6 MB, free: 24 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2614, allocations: 44.06 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2616, allocations: 164.5 kB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2618, allocations: 204.1 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2619, allocations: 4 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000349/0.2622, allocations: 217.5 kB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2622, allocations: 8 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2622, allocations: 4 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2622, allocations: 8 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2624, allocations: 43.92 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2624, allocations: 7.938 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2625, allocations: 23.81 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2625, allocations: 16 kB / 438.3 MB, free: 15.17 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.0001514/0.2627, allocations: 149.9 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.263, allocations: 164.1 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.2634, allocations: 183.2 kB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2634, allocations: 4 kB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2634, allocations: 0 / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2634, allocations: 0 / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2636, allocations: 212.5 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2636, allocations: 4 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.2638, allocations: 35.97 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2638, allocations: 0 / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2638, allocations: 7.984 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2638, allocations: 0 / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2638, allocations: 0 / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.2642, allocations: 292.1 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.2643, allocations: 39.81 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.2643, allocations: 8 kB / 439.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2645, allocations: 11.98 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.2645, allocations: 0 / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2645, allocations: 7.984 kB / 439.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2647, allocations: 152 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2647, allocations: 0 / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000351/0.265, allocations: 36 kB / 439.6 MB, free: 13.8 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.001034/0.266, allocations: 0.9199 MB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.2664, allocations: 139.8 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2664, allocations: 1.188 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.2665, allocations: 4 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.2672, allocations: 148.8 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.2698, allocations: 2.17 MB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.2702, allocations: 0.7359 MB / 443.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.964e-05/0.2702, allocations: 13.48 kB / 443.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.2703, allocations: 47.42 kB / 443.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2703, allocations: 0 / 443.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.305, allocations: 4.523 MB / 448.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.16, allocations: 3.562 kB / 448.3 MB, free: 4.98 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,assignClock.u,assignClock.y,sample1.limiter.u,sample1.limiter.y,sample1.noise.u [Calling sys.exit(0), Time elapsed: 13.694353562001197]