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.0007563/0.0007563, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0007763/0.0007763, allocations: 164.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9028/0.9028, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.623e-05, allocations: 7.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00215/0.002166, allocations: 1.844 MB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.00312, allocations: 0.7087 MB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.003235, allocations: 7.938 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.003369, allocations: 19.73 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.003512, allocations: 23.8 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.003949, allocations: 174.4 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.00412, allocations: 151.6 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004238, allocations: 45.7 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.004387, allocations: 87.73 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.004476, allocations: 47.81 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.0045, allocations: 12 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.004577, allocations: 51.97 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.004646, allocations: 43.83 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.004693, allocations: 43.84 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.004924, allocations: 215.2 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.004927, allocations: 0 / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004928, allocations: 4 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004933, allocations: 0 / 328 MB, free: 12.41 MB / 298.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.0005806/0.005513, allocations: 405.6 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.005555, allocations: 11.98 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.005594, allocations: 50.67 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.005698, allocations: 28.8 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.005953, allocations: 201.7 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005968, allocations: 8.562 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.005982, allocations: 8.375 kB / 328.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.006431, allocations: 352.3 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.006439, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.006453, allocations: 8 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.006458, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.006592, allocations: 83.88 kB / 329.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.006896, allocations: 296.6 kB / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.007187, allocations: 181.3 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.007294, allocations: 93.73 kB / 329.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.007532, allocations: 63.92 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.007556, allocations: 42.56 kB / 329.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.007558, allocations: 0 / 329.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003636/0.007922, allocations: 240.3 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.007987, allocations: 114.8 kB / 330.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.008117, allocations: 190.8 kB / 330.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.008131, allocations: 25.7 kB / 330.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.008181, allocations: 108.6 kB / 330.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.008196, allocations: 16 kB / 330.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.00823, allocations: 29.67 kB / 330.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.008306, allocations: 322.8 kB / 330.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.008341, allocations: 23.98 kB / 330.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.008402, allocations: 89.97 kB / 330.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.008473, allocations: 67.34 kB / 331 MB, free: 9.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008475, allocations: 4.031 kB / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001107/0.008586, allocations: 109.5 kB / 331.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.008596, allocations: 4 kB / 331.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008602, allocations: 4 kB / 331.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.008612, allocations: 0 / 331.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.008662, allocations: 15.98 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008669, allocations: 7.875 kB / 331.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.00873, allocations: 15.83 kB / 331.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.008736, allocations: 8.125 kB / 331.2 MB, free: 8.973 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 8.697e-05/0.008823, allocations: 138.6 kB / 331.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.008988, allocations: 156.4 kB / 331.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.009197, allocations: 183.5 kB / 331.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.0092, allocations: 4 kB / 331.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009205, allocations: 0 / 331.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.009209, allocations: 3.938 kB / 331.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.009349, allocations: 184.6 kB / 331.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.009353, allocations: 3.984 kB / 331.8 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.009421, allocations: 27.98 kB / 331.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009424, allocations: 4 kB / 331.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.009434, allocations: 0 / 331.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009435, allocations: 0 / 331.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.009438, allocations: 7.984 kB / 331.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.009675, allocations: 292.1 kB / 332.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.009729, allocations: 39.78 kB / 332.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.00975, allocations: 11.98 kB / 332.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.009809, allocations: 12 kB / 332.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.009837, allocations: 7.922 kB / 332.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.009851, allocations: 7.938 kB / 332.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.009927, allocations: 148.2 kB / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009927, allocations: 0 / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.0101, allocations: 28 kB / 332.4 MB, free: 7.664 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.0005878/0.01069, allocations: 0.9137 MB / 333.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.01086, allocations: 99.83 kB / 333.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01086, allocations: 0 / 333.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.01088, allocations: 7.984 kB / 333.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.01125, allocations: 161.9 kB / 333.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.01256, allocations: 1.816 MB / 335.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.01266, allocations: 139.5 kB / 335.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.0127, allocations: 13.14 kB / 335.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.01275, allocations: 40.48 kB / 335.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01275, allocations: 0 / 335.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.0306, allocations: 4.967 MB / 340.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.709, allocations: 8.062 kB / 340.5 MB, free: 15.45 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/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: 8.502144707366824]