Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.00132/0.00132, allocations: 114 kB / 20.43 MB, free: 1.457 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.001474/0.001474, allocations: 214 kB / 23.74 MB, free: 4.672 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.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 8 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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.84 kB / 377.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2623, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002701/0.265, allocations: 1.518 MB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.2659, allocations: 490.7 kB / 433.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.266, allocations: 3.938 kB / 433.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.266, allocations: 7.922 kB / 433.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.2661, allocations: 7.938 kB / 433.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2663, allocations: 31.91 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.2664, allocations: 31.86 kB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.2665, allocations: 15.98 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2666, allocations: 23.92 kB / 433.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.2667, allocations: 15.92 kB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2667, allocations: 4 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.2668, allocations: 4 kB / 433.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2668, allocations: 11.92 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.2668, allocations: 15.94 kB / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2669, allocations: 52.11 kB / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2669, allocations: 0 / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2669, allocations: 0 / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2669, allocations: 0 / 433.4 MB, free: 4.457 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.0004231/0.2674, allocations: 278.2 kB / 433.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2674, allocations: 12.03 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.2674, allocations: 30.75 kB / 433.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2676, allocations: 12.92 kB / 433.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2678, allocations: 130.4 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.2678, allocations: 384 / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.2678, allocations: 8.359 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2681, allocations: 115.4 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2681, allocations: 0 / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.2681, allocations: 4 kB / 434 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2681, allocations: 0 / 434 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.2682, allocations: 19.98 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.2684, allocations: 136.7 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2685, allocations: 46.56 kB / 434.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.2686, allocations: 36.86 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2686, allocations: 0 / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2686, allocations: 42.48 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2686, allocations: 4 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000218/0.2689, allocations: 73.56 kB / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2689, allocations: 55.41 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.269, allocations: 109.8 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.269, allocations: 37.64 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.2691, allocations: 84.14 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.2691, allocations: 0 / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2691, allocations: 17.7 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.2693, allocations: 314.8 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.2693, allocations: 4 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.2694, allocations: 31.42 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.2694, allocations: 39.38 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2694, allocations: 4 kB / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.238e-05/0.2695, allocations: 61.52 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2695, allocations: 6.625 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2695, allocations: 4 kB / 435.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2695, allocations: 4.375 kB / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.2696, allocations: 4 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2696, allocations: 3.938 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.2696, allocations: 4 kB / 435.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-06/0.2696, allocations: 3.938 kB / 435.1 MB, free: 2.535 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 8.062e-05/0.2697, allocations: 117.8 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.2698, allocations: 61.61 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.2699, allocations: 12 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2699, allocations: 336 / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2699, allocations: 4 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2699, allocations: 0 / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.925e-05/0.27, allocations: 132.7 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.27, allocations: 0 / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.27, allocations: 19.91 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.27, allocations: 0 / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.27, allocations: 3.938 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.27, allocations: 0 / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.27, allocations: 4 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.2702, allocations: 89.11 kB / 435.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.2702, allocations: 7.891 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.2702, allocations: 7.938 kB / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.2702, allocations: 3.984 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.2702, allocations: 0 / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2703, allocations: 4 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.2703, allocations: 87.28 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2703, allocations: 0 / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.2705, allocations: 8 kB / 435.7 MB, free: 1.898 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.0004389/0.2709, allocations: 0.6241 MB / 436.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.271, allocations: 27.92 kB / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.271, allocations: 0 / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.271, allocations: 0 / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.2713, allocations: 28.02 kB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2724, allocations: 1.187 MB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2726, allocations: 0.6808 MB / 438.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.21e-05/0.2727, allocations: 0 / 438.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2727, allocations: 23.36 kB / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2727, allocations: 0 / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.2995, allocations: 1.45 MB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.29, allocations: 7.422 kB / 439.7 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.780034125000384]