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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001695/0.001695, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002275/0.002275, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 67.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.365, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003171/0.3682, allocations: 1.5 MB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.3692, allocations: 478.7 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.3693, allocations: 0 / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.3694, allocations: 7.938 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3695, allocations: 7.922 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3698, allocations: 35.84 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3699, allocations: 39.86 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3701, allocations: 4 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.3702, allocations: 27.92 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.3703, allocations: 19.91 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3703, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.3704, allocations: 12 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3704, allocations: 7.922 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3704, allocations: 15.94 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.3706, allocations: 43.81 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3706, allocations: 0 / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3706, allocations: 0 / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3706, allocations: 0 / 410.9 MB, free: 15.34 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.0004965/0.3711, allocations: 360.9 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3712, allocations: 8.031 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.3712, allocations: 38.75 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3714, allocations: 16.86 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3717, allocations: 172.3 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3717, allocations: 4.375 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3718, allocations: 4.375 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.3721, allocations: 127.3 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3721, allocations: 0 / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3721, allocations: 4 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3722, allocations: 0 / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.178e-05/0.3722, allocations: 19.98 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.3724, allocations: 161.6 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3726, allocations: 58.55 kB / 411.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.3726, allocations: 24.89 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3727, allocations: 4.031 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3727, allocations: 38.44 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3727, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002627/0.373, allocations: 81.7 kB / 412 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.373, allocations: 59.41 kB / 412.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3732, allocations: 109.8 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3732, allocations: 25.7 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.3732, allocations: 88.14 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.3732, allocations: 3.984 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.3733, allocations: 17.72 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3734, allocations: 310.8 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.3734, allocations: 11.94 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.3735, allocations: 31.42 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.3735, allocations: 31.38 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3735, allocations: 8 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.651e-05/0.3736, allocations: 57.56 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3736, allocations: 4.375 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.3736, allocations: 0 / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3737, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.752e-05/0.3737, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3737, allocations: 3.938 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.3738, allocations: 7.906 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.3738, allocations: 4.125 kB / 412.8 MB, free: 13.21 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.578e-05/0.3739, allocations: 121.7 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.374, allocations: 65.61 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.374, allocations: 3.906 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.374, allocations: 0 / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.374, allocations: 0 / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3741, allocations: 4 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3742, allocations: 161.7 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3742, allocations: 0 / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.3743, allocations: 19.92 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3743, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3743, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3743, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3743, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3745, allocations: 92.95 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3745, allocations: 81.05 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3745, allocations: 7.984 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.3746, allocations: 12 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-06/0.3746, allocations: 0 / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3746, allocations: 3.938 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.858e-05/0.3747, allocations: 91.27 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3747, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.3749, allocations: 4 kB / 413.5 MB, free: 12.45 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.0005958/0.3755, allocations: 0.6279 MB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.3757, allocations: 27.98 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3757, allocations: 0 / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.3757, allocations: 3.938 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.376, allocations: 19.98 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3773, allocations: 1.198 MB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.3777, allocations: 0.6884 MB / 416 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.145e-05/0.3777, allocations: 0 / 416 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.3778, allocations: 19.44 kB / 416.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of SimCode: time 3.176e-06/0.3778, allocations: 0 / 416.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4012, allocations: 1.335 MB / 417.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.312, allocations: 3.938 kB / 417.4 MB, free: 8.48 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches