Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001693/0.001693, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001735/0.001735, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.91 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002646/0.2484, allocations: 1.524 MB / 432.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.2493, allocations: 478.7 kB / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.2493, allocations: 3.938 kB / 433.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.2494, allocations: 7.922 kB / 433.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.2494, allocations: 11.88 kB / 433.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2497, allocations: 31.91 kB / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.2497, allocations: 35.92 kB / 433.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.2498, allocations: 23.91 kB / 433.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2499, allocations: 23.86 kB / 433.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.25, allocations: 11.94 kB / 433.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.25, allocations: 4 kB / 433.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.25, allocations: 4 kB / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.2501, allocations: 19.91 kB / 433.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2501, allocations: 11.94 kB / 433.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2502, allocations: 40.19 kB / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.2502, allocations: 8 kB / 433.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2502, allocations: 0 / 433.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2502, allocations: 0 / 433.4 MB, free: 4.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004047/0.2506, allocations: 274.2 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2506, allocations: 8.031 kB / 433.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.2507, allocations: 34.75 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.2508, allocations: 12.92 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.251, allocations: 130.4 kB / 433.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-06/0.251, allocations: 4.375 kB / 433.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.251, allocations: 4.375 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.2513, allocations: 115.4 kB / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2513, allocations: 0 / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.2513, allocations: 4 kB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2513, allocations: 4 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.2514, allocations: 23.92 kB / 434 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.2515, allocations: 136.7 kB / 434.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.2517, allocations: 54.59 kB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.2517, allocations: 16.89 kB / 434.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2518, allocations: 4 kB / 434.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2518, allocations: 42.48 kB / 434.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2518, allocations: 0 / 434.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002194/0.252, allocations: 77.8 kB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2521, allocations: 55.34 kB / 434.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.2521, allocations: 113.8 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2522, allocations: 25.7 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.2522, allocations: 88.14 kB / 434.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.2522, allocations: 0 / 434.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.2522, allocations: 21.7 kB / 434.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2524, allocations: 318.8 kB / 434.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.2524, allocations: 0 / 434.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.2524, allocations: 35.34 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.2524, allocations: 39.44 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2524, allocations: 0 / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.291e-05/0.2525, allocations: 65.45 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2525, allocations: 4 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2525, allocations: 4 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2526, allocations: 4.125 kB / 435.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.2526, allocations: 8 kB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2526, allocations: 4 kB / 435.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.2526, allocations: 4 kB / 435.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2526, allocations: 4 kB / 435.1 MB, free: 2.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 7.173e-05/0.2527, allocations: 109.8 kB / 435.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.2528, allocations: 69.55 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2529, allocations: 12 kB / 435.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2529, allocations: 4 kB / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2529, allocations: 0 / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2529, allocations: 0 / 435.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.253, allocations: 132.7 kB / 435.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.253, allocations: 0 / 435.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.253, allocations: 15.92 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.253, allocations: 0 / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.253, allocations: 0 / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.253, allocations: 4 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.253, allocations: 0 / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.2532, allocations: 89.05 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.2532, allocations: 15.89 kB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2532, allocations: 0 / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.2533, allocations: 7.922 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-06/0.2533, allocations: 4 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2533, allocations: 0 / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.295e-05/0.2533, allocations: 91.59 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2533, allocations: 0 / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.2535, allocations: 8 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0004312/0.2539, allocations: 0.6241 MB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.254, allocations: 24.17 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.254, allocations: 4.062 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.254, allocations: 0 / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2543, allocations: 27.02 kB / 436.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2553, allocations: 1.179 MB / 437.5 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.2556, allocations: 0.6846 MB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.2556, allocations: 3.984 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.2556, allocations: 11.48 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2556, allocations: 0 / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2838, allocations: 1.451 MB / 439.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.18, allocations: 6.406 kB / 439.6 MB, free: 14.01 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.709517498999048]