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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 111.3 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 200 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3878, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003233/0.3911, allocations: 1.483 MB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.3921, allocations: 430.4 kB / 402.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.3922, allocations: 7.938 kB / 402.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.3922, allocations: 4 kB / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.3923, allocations: 7.875 kB / 402.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.3927, allocations: 39 kB / 402.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3928, allocations: 39.86 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3929, allocations: 4 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.393, allocations: 27.84 kB / 402.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.3931, allocations: 15.92 kB / 402.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3931, allocations: 8 kB / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.3931, allocations: 0 / 402.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.3932, allocations: 8 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.3932, allocations: 19.86 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3933, allocations: 39.83 kB / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3934, allocations: 0 / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3934, allocations: 0 / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3934, allocations: 0 / 402.4 MB, free: 6.695 MB / 318.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.0005282/0.3939, allocations: 345.1 kB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.394, allocations: 12.03 kB / 402.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.394, allocations: 38.75 kB / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3941, allocations: 4.844 kB / 402.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3944, allocations: 184.2 kB / 402.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3944, allocations: 4.375 kB / 402.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3944, allocations: 4.375 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.3949, allocations: 111.4 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3949, allocations: 0 / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3949, allocations: 0 / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.3949, allocations: 3.984 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.395, allocations: 19.98 kB / 403.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.3952, allocations: 165.6 kB / 403.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3954, allocations: 66.52 kB / 403.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.3955, allocations: 20.89 kB / 403.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.3956, allocations: 4 kB / 403.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3956, allocations: 38.44 kB / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3956, allocations: 0 / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003405/0.3959, allocations: 81.56 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.396, allocations: 59.34 kB / 403.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3962, allocations: 109.8 kB / 403.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3962, allocations: 25.7 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.3963, allocations: 84.14 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.3963, allocations: 4 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3964, allocations: 13.72 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3966, allocations: 322.8 kB / 404.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.3966, allocations: 0 / 404.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.3966, allocations: 27.44 kB / 404.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.3967, allocations: 39.36 kB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3967, allocations: 3.938 kB / 404.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001147/0.3968, allocations: 57.58 kB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3969, allocations: 4 kB / 404.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3969, allocations: 8.266 kB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.3969, allocations: 0 / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.397, allocations: 11.94 kB / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.397, allocations: 0 / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.3971, allocations: 0 / 404.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3971, allocations: 8 kB / 404.2 MB, free: 4.594 MB / 318.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 0.0001314/0.3972, allocations: 110 kB / 404.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3974, allocations: 73.5 kB / 404.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.3974, allocations: 11.91 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3975, allocations: 0 / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3975, allocations: 3.938 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3975, allocations: 0 / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.3976, allocations: 157.7 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3977, allocations: 0 / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.3977, allocations: 15.92 kB / 404.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3977, allocations: 0 / 404.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3978, allocations: 4.375 kB / 404.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3978, allocations: 4 kB / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3978, allocations: 0 / 404.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.398, allocations: 85.02 kB / 404.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.3981, allocations: 92.98 kB / 404.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3981, allocations: 0 / 404.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.3982, allocations: 3.984 kB / 404.8 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-06/0.3982, allocations: 4 kB / 404.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3982, allocations: 4 kB / 404.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.3982, allocations: 91.22 kB / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3983, allocations: 0 / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.3985, allocations: 4 kB / 404.9 MB, free: 3.832 MB / 318.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.0007045/0.3992, allocations: 0.6318 MB / 405.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3994, allocations: 27.92 kB / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3994, allocations: 0 / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.3994, allocations: 0 / 405.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3997, allocations: 34.88 kB / 405.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.4012, allocations: 1.202 MB / 406.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4015, allocations: 0.6844 MB / 407.4 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.4015, allocations: 0 / 407.4 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.4016, allocations: 15.42 kB / 407.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4016, allocations: 0 / 407.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.4234, allocations: 1.339 MB / 408.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.964/10.39, allocations: 11.88 kB / 408.8 MB, free: 15.86 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/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) Reference file matches