Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 181.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 51.92 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2968, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002858/0.2997, allocations: 1.513 MB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.3005, allocations: 439 kB / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.3006, allocations: 0 / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.3006, allocations: 3.938 kB / 424.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.3007, allocations: 11.92 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.301, allocations: 35.28 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3011, allocations: 35.8 kB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3012, allocations: 8 kB / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.3013, allocations: 23.91 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.3013, allocations: 19.92 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3013, allocations: 4 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3013, allocations: 4 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.3014, allocations: 4 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.3014, allocations: 15.88 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3015, allocations: 48.11 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3015, allocations: 4 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3015, allocations: 0 / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3015, allocations: 0 / 424.8 MB, free: 12.43 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.0004414/0.302, allocations: 270.2 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.302, allocations: 12.03 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.3021, allocations: 34.75 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.3021, allocations: 8.891 kB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3023, allocations: 122.4 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3023, allocations: 4.375 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3023, allocations: 4.375 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.3026, allocations: 119.4 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3027, allocations: 0 / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3027, allocations: 0 / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3027, allocations: 0 / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.3028, allocations: 19.98 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.3029, allocations: 132.7 kB / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3031, allocations: 58.55 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.3031, allocations: 28.86 kB / 425.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3032, allocations: 3.984 kB / 425.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3032, allocations: 38.5 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3032, allocations: 3.938 kB / 425.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.3034, allocations: 73.81 kB / 425.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3035, allocations: 63.41 kB / 425.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.3036, allocations: 105.8 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3036, allocations: 29.69 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3036, allocations: 92.08 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.3036, allocations: 0 / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3037, allocations: 17.72 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3038, allocations: 314.8 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.3038, allocations: 12 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.3039, allocations: 27.42 kB / 426.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.3039, allocations: 31.38 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3039, allocations: 0 / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.333e-05/0.304, allocations: 61.56 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.304, allocations: 11.94 kB / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.304, allocations: 0 / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.304, allocations: 0 / 426.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.3041, allocations: 8 kB / 426.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3041, allocations: 7.922 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.3041, allocations: 4 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.3041, allocations: 0 / 426.5 MB, free: 10.53 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.829e-05/0.3042, allocations: 118 kB / 426.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3043, allocations: 65.58 kB / 426.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3044, allocations: 11.98 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3044, allocations: 0 / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3044, allocations: 0 / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3044, allocations: 4 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.3045, allocations: 128.7 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3045, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.3045, allocations: 11.94 kB / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3045, allocations: 4 kB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3045, allocations: 0 / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3045, allocations: 4.312 kB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3045, allocations: 0 / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3047, allocations: 89.06 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.3047, allocations: 15.86 kB / 426.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3047, allocations: 7.938 kB / 426.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.3048, allocations: 4 kB / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-06/0.3048, allocations: 0 / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3048, allocations: 0 / 426.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.3048, allocations: 91.27 kB / 427 MB, free: 9.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3048, allocations: 0 / 427 MB, free: 9.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.305, allocations: 4 kB / 427 MB, free: 9.895 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.0004685/0.3055, allocations: 0.6319 MB / 427.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3056, allocations: 23.92 kB / 427.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3056, allocations: 0 / 427.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3056, allocations: 0 / 427.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.3058, allocations: 28 kB / 427.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.307, allocations: 1.191 MB / 428.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3073, allocations: 0.6883 MB / 429.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.3073, allocations: 0 / 429.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.3074, allocations: 15.44 kB / 429.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3074, allocations: 4 kB / 429.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3352, allocations: 1.431 MB / 431 MB, free: 5.855 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.3, allocations: 12.58 kB / 431.1 MB, free: 5.848 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.842054286000348]