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.001383/0.001383, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 59.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 50.55 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003027/0.3214, allocations: 1.511 MB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.3223, allocations: 470.7 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.3224, allocations: 0 / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.3225, allocations: 3.938 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.3225, allocations: 11.86 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3229, allocations: 47.45 kB / 410.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.323, allocations: 35.91 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3231, allocations: 12 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3232, allocations: 23.86 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.3233, allocations: 15.92 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3233, allocations: 4 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.3234, allocations: 8 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3234, allocations: 7.922 kB / 411 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3234, allocations: 23.92 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3236, allocations: 38.78 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3236, allocations: 0 / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3236, allocations: 0 / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3237, allocations: 4 kB / 411 MB, free: 15.3 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.0004934/0.3242, allocations: 347.3 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3242, allocations: 12.03 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.3243, allocations: 34.73 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.3244, allocations: 8.938 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3247, allocations: 196.2 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.3247, allocations: 384 / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3247, allocations: 4.375 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.3251, allocations: 111.4 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3251, allocations: 0 / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3251, allocations: 7.938 kB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3251, allocations: 4 kB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.3252, allocations: 19.98 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.3254, allocations: 165.5 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3256, allocations: 50.56 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.3256, allocations: 28.92 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3257, allocations: 8 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3257, allocations: 38.48 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3257, allocations: 0 / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002574/0.326, allocations: 73.61 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.326, allocations: 51.41 kB / 412.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3262, allocations: 117.8 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3262, allocations: 25.7 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.3262, allocations: 88.14 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.3262, allocations: 0 / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3263, allocations: 21.7 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3264, allocations: 314.8 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.3265, allocations: 0 / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.3265, allocations: 35.42 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.3265, allocations: 39.38 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3266, allocations: 0 / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.647e-05/0.3266, allocations: 65.73 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3267, allocations: 4 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3267, allocations: 8.125 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3267, allocations: 0 / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.3268, allocations: 8 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3268, allocations: 0 / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.3268, allocations: 3.984 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3268, allocations: 4 kB / 412.9 MB, free: 13.18 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.8e-05/0.3269, allocations: 113.8 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.327, allocations: 69.55 kB / 413.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.3271, allocations: 7.906 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3271, allocations: 4.375 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3271, allocations: 0 / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3271, allocations: 0 / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.3272, allocations: 161.6 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3272, allocations: 3.938 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.3273, allocations: 15.92 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3273, allocations: 0 / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3273, allocations: 4 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3273, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3274, allocations: 4 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.3275, allocations: 85.11 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3276, allocations: 89 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3276, allocations: 3.938 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.3277, allocations: 3.984 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-06/0.3277, allocations: 0 / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3277, allocations: 11.94 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.3277, allocations: 79.28 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3278, allocations: 8 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.3279, allocations: 8 kB / 413.5 MB, free: 12.41 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.0004764/0.3284, allocations: 0.6163 MB / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.3286, allocations: 32.05 kB / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3286, allocations: 0 / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3286, allocations: 0 / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3288, allocations: 28.02 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3299, allocations: 1.182 MB / 415.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3303, allocations: 0.6807 MB / 416.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.561e-05/0.3303, allocations: 3.984 kB / 416.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.3303, allocations: 15.44 kB / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3303, allocations: 0 / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.354, allocations: 1.326 MB / 417.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.237, allocations: 11.81 kB / 417.4 MB, free: 8.473 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.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) Reference file matches