Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001783/0.001783, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001786/0.001786, allocations: 204.5 kB / 23.73 MB, free: 4.379 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 47.92 kB / 377.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2593, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002851/0.2621, allocations: 1.624 MB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2632, allocations: 0.5492 MB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.2633, allocations: 7.938 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.2633, allocations: 3.938 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2635, allocations: 15.84 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2638, allocations: 67.75 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.2639, allocations: 63.72 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.264, allocations: 16.22 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2642, allocations: 31.86 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.2642, allocations: 19.86 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2642, allocations: 8 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.551e-05/0.2643, allocations: 12 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.2643, allocations: 19.91 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.2644, allocations: 27.8 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.2645, allocations: 72.03 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2645, allocations: 0 / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2645, allocations: 0 / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2645, allocations: 0 / 433.6 MB, free: 4.082 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005201/0.2651, allocations: 321.8 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2651, allocations: 8.031 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.2651, allocations: 38.75 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.2653, allocations: 20.83 kB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2656, allocations: 158.3 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2656, allocations: 4.359 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2656, allocations: 4.375 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.2659, allocations: 142.9 kB / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.266, allocations: 0 / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.266, allocations: 7.938 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.266, allocations: 0 / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/0.2661, allocations: 31.91 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.2664, allocations: 254.5 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2666, allocations: 90.42 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.29e-05/0.2666, allocations: 43.48 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.2667, allocations: 11.92 kB / 434.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2667, allocations: 42.5 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2667, allocations: 0 / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003056/0.267, allocations: 93.56 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2671, allocations: 137 kB / 435 MB, free: 2.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2673, allocations: 151.9 kB / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.2673, allocations: 33.69 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.2674, allocations: 92.14 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2674, allocations: 7.953 kB / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.2674, allocations: 21.7 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2676, allocations: 318.8 kB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.2676, allocations: 15.98 kB / 435.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.2677, allocations: 45.14 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.2678, allocations: 73.14 kB / 435.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2678, allocations: 4 kB / 435.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001818/0.268, allocations: 85.5 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.268, allocations: 4 kB / 435.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.268, allocations: 4.188 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.268, allocations: 4 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.2681, allocations: 8 kB / 435.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2681, allocations: 7.984 kB / 435.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.2682, allocations: 7.938 kB / 435.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2682, allocations: 4 kB / 435.9 MB, free: 1.523 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001052/0.2683, allocations: 125.7 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2684, allocations: 65.53 kB / 436.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.2684, allocations: 23.91 kB / 436.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2684, allocations: 8.094 kB / 436.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2684, allocations: 0 / 436.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2684, allocations: 0 / 436.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2686, allocations: 152.6 kB / 436.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2686, allocations: 0 / 436.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.2687, allocations: 15.98 kB / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2687, allocations: 0 / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2687, allocations: 0 / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2687, allocations: 4 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2687, allocations: 0 / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2689, allocations: 206 kB / 436.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.269, allocations: 19.94 kB / 436.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.269, allocations: 4 kB / 436.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.2691, allocations: 0 / 436.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.2691, allocations: 7.984 kB / 436.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2691, allocations: 0 / 436.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.15e-05/0.2692, allocations: 126.8 kB / 436.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2692, allocations: 0 / 436.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.2694, allocations: 8 kB / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0005178/0.27, allocations: 0.7409 MB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.2701, allocations: 40.03 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2701, allocations: 4 kB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.2701, allocations: 11.94 kB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2706, allocations: 47.06 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2722, allocations: 1.499 MB / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.2723, allocations: 79.33 kB / 439 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.2723, allocations: 12.66 kB / 439.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.2724, allocations: 23.44 kB / 439.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2724, allocations: 0 / 439.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.3008, allocations: 2.696 MB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.02, allocations: 3.984 kB / 441.8 MB, free: 11.51 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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: 13.56195950199617]