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.001884/0.001884, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002203/0.002203, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001721/0.001721, allocations: 51.91 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3104, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003218/0.3136, allocations: 1.512 MB / 432.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3146, allocations: 438.9 kB / 433 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.3147, allocations: 7.938 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.3147, allocations: 3.984 kB / 433 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.3148, allocations: 7.875 kB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.3152, allocations: 31.91 kB / 433.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3153, allocations: 35.86 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3154, allocations: 15.98 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3155, allocations: 27.91 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.3156, allocations: 11.88 kB / 433.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3156, allocations: 4 kB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3157, allocations: 8 kB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.3157, allocations: 7.984 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.3157, allocations: 15.94 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.3159, allocations: 45.44 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3159, allocations: 4 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3159, allocations: 0 / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3159, allocations: 0 / 433.2 MB, free: 4.477 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.0005652/0.3165, allocations: 278.2 kB / 433.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3165, allocations: 8.031 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.3166, allocations: 30.75 kB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3167, allocations: 12.92 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.317, allocations: 134.4 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.317, allocations: 4.375 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.317, allocations: 384 / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.3174, allocations: 119.4 kB / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3174, allocations: 0 / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3174, allocations: 0 / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3174, allocations: 4 kB / 433.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.3175, allocations: 23.92 kB / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.3177, allocations: 128.7 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3179, allocations: 62.53 kB / 434 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.318, allocations: 24.92 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.318, allocations: 0 / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.318, allocations: 38.44 kB / 434.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.318, allocations: 0 / 434.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002898/0.3183, allocations: 77.61 kB / 434.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3184, allocations: 59.41 kB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3185, allocations: 105.8 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3185, allocations: 29.7 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3186, allocations: 88.12 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-06/0.3186, allocations: 0 / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3186, allocations: 17.72 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3188, allocations: 310.8 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.3188, allocations: 11.98 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.3188, allocations: 23.44 kB / 434.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.3189, allocations: 43.38 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3189, allocations: 0 / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.955e-05/0.319, allocations: 65.45 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.319, allocations: 8 kB / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.319, allocations: 0 / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.319, allocations: 128 / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.3191, allocations: 12.38 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3191, allocations: 0 / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.3191, allocations: 0 / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3191, allocations: 11.98 kB / 434.9 MB, free: 2.559 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 9.833e-05/0.3192, allocations: 121.7 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3193, allocations: 65.56 kB / 435.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.3194, allocations: 11.98 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3194, allocations: 0 / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3194, allocations: 0 / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3194, allocations: 4 kB / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3195, allocations: 132.7 kB / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3195, allocations: 0 / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.3196, allocations: 7.938 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3196, allocations: 4 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3196, allocations: 0 / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3196, allocations: 3.984 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3196, allocations: 0 / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3198, allocations: 92.98 kB / 435.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3198, allocations: 7.891 kB / 435.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3198, allocations: 12 kB / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.3198, allocations: 384 / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-06/0.3198, allocations: 0 / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.3198, allocations: 0 / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.208e-05/0.3199, allocations: 91.27 kB / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3199, allocations: 0 / 435.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.3201, allocations: 4 kB / 435.5 MB, free: 1.926 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.0006057/0.3207, allocations: 0.6241 MB / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.3209, allocations: 31.92 kB / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3209, allocations: 0 / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.3209, allocations: 0 / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3211, allocations: 25.98 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3224, allocations: 1.19 MB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.177e-05/0.3225, allocations: 63.62 kB / 437.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.3225, allocations: 8.25 kB / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.3226, allocations: 11.44 kB / 437.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3226, allocations: 3.938 kB / 437.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.3537, allocations: 1.82 MB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.12, allocations: 6.578 kB / 439.3 MB, free: 14.13 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.697023743763566]