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.001791/0.001791, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002331/0.002331, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.001981/0.001981, allocations: 67.88 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2932, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003042/0.2963, allocations: 1.513 MB / 432.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.2971, allocations: 442.9 kB / 433.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.2972, allocations: 0 / 433.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.2972, allocations: 3.938 kB / 433.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.2973, allocations: 15.86 kB / 433.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.2976, allocations: 31.91 kB / 433.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.2977, allocations: 43.86 kB / 433.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.2977, allocations: 8 kB / 433.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2979, allocations: 23.91 kB / 433.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.2979, allocations: 15.86 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2979, allocations: 4 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.642e-05/0.298, allocations: 4 kB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.298, allocations: 11.98 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.298, allocations: 15.88 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.2981, allocations: 44.23 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2981, allocations: 4 kB / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2981, allocations: 0 / 433.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.2981, allocations: 0 / 433.3 MB, free: 4.281 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.0004475/0.2986, allocations: 270.2 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2986, allocations: 15.97 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.2987, allocations: 38.75 kB / 433.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.2988, allocations: 12.92 kB / 433.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.299, allocations: 122.4 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-06/0.299, allocations: 384 / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.2991, allocations: 8.359 kB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.2994, allocations: 115.4 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2994, allocations: 0 / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2994, allocations: 3.984 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2994, allocations: 3.938 kB / 433.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.2995, allocations: 23.97 kB / 433.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.2996, allocations: 136.7 kB / 434 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2998, allocations: 54.55 kB / 434.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.2998, allocations: 20.89 kB / 434.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.2998, allocations: 3.984 kB / 434.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2999, allocations: 42.48 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2999, allocations: 0 / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002242/0.3001, allocations: 73.56 kB / 434.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3001, allocations: 59.41 kB / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.3002, allocations: 113.8 kB / 434.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3003, allocations: 25.7 kB / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.3003, allocations: 84.14 kB / 434.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.3003, allocations: 0 / 434.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3003, allocations: 21.7 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3005, allocations: 314.8 kB / 434.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.3005, allocations: 4 kB / 434.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.3005, allocations: 31.42 kB / 434.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.3006, allocations: 39.38 kB / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3006, allocations: 0 / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.272e-05/0.3007, allocations: 65.45 kB / 435 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3007, allocations: 8 kB / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3007, allocations: 0 / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3007, allocations: 0 / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.3007, allocations: 8 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.3007, allocations: 0 / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3008, allocations: 8.125 kB / 435 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.3008, allocations: 0 / 435 MB, free: 2.367 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.357e-05/0.3008, allocations: 117.8 kB / 435.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.301, allocations: 69.55 kB / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.301, allocations: 4 kB / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.301, allocations: 0 / 435.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.301, allocations: 4.375 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.301, allocations: 0 / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3011, allocations: 132.7 kB / 435.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3011, allocations: 0 / 435.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.3012, allocations: 27.86 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3012, allocations: 0 / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3012, allocations: 336 / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3012, allocations: 0 / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3012, allocations: 3.938 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3013, allocations: 89.09 kB / 435.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.3014, allocations: 15.88 kB / 435.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3014, allocations: 3.938 kB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/0.3014, allocations: 4 kB / 435.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-06/0.3014, allocations: 0 / 435.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3014, allocations: 8 kB / 435.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.3015, allocations: 91.27 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3015, allocations: 0 / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.3017, allocations: 4 kB / 435.6 MB, free: 1.719 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.0004417/0.3021, allocations: 0.6124 MB / 436.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.3022, allocations: 31.92 kB / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3022, allocations: 0 / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3022, allocations: 4.25 kB / 436.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3024, allocations: 19.98 kB / 436.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3035, allocations: 1.183 MB / 437.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.3036, allocations: 71.33 kB / 437.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.091e-05/0.3036, allocations: 0 / 437.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.3036, allocations: 11.44 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3036, allocations: 4 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.3319, allocations: 1.842 MB / 439.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 3.984 kB / 439.3 MB, free: 13.91 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.626613633241504]