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.001465/0.001464, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 59.78 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003232/0.1185, allocations: 1.499 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.1194, allocations: 484.4 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.1195, allocations: 0 / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.1196, allocations: 3.938 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.1196, allocations: 7.922 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1199, allocations: 35.91 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.12, allocations: 31.86 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1202, allocations: 12 kB / 359.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1203, allocations: 31.84 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1204, allocations: 15.92 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1204, allocations: 4 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.1205, allocations: 4 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1205, allocations: 11.94 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.1205, allocations: 15.92 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1206, allocations: 39.83 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1206, allocations: 0 / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1207, allocations: 4 kB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1207, allocations: 0 / 359.8 MB, free: 11.81 MB / 302.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.0004061/0.1211, allocations: 351.6 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1211, allocations: 8.031 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.1212, allocations: 38.73 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1213, allocations: 12.84 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.1215, allocations: 180.2 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1215, allocations: 4.375 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1215, allocations: 4.375 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1219, allocations: 131.2 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1219, allocations: 0 / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1219, allocations: 0 / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1219, allocations: 3.984 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.122, allocations: 23.97 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1221, allocations: 153.7 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.1223, allocations: 66.48 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.1224, allocations: 24.92 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1224, allocations: 0 / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1224, allocations: 38.5 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1224, allocations: 0 / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002173/0.1226, allocations: 81.66 kB / 360.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1227, allocations: 51.41 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.1228, allocations: 117.7 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1228, allocations: 29.7 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.1228, allocations: 80.14 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.1229, allocations: 0 / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1229, allocations: 17.72 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.123, allocations: 326.8 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.123, allocations: 0 / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.1231, allocations: 23.44 kB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.1231, allocations: 43.38 kB / 361.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1231, allocations: 0 / 361.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.043e-05/0.1232, allocations: 61.47 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1232, allocations: 4 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1232, allocations: 0 / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1232, allocations: 4 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.1233, allocations: 12.3 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1233, allocations: 4 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.1233, allocations: 4 kB / 361.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1234, allocations: 8.125 kB / 361.6 MB, free: 9.684 MB / 302.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 6.916e-05/0.1234, allocations: 113.7 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.1236, allocations: 69.52 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.1236, allocations: 7.906 kB / 361.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1236, allocations: 8 kB / 361.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1236, allocations: 0 / 361.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1236, allocations: 0 / 361.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.1237, allocations: 157.7 kB / 362 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1237, allocations: 4 kB / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.1238, allocations: 15.88 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1238, allocations: 0 / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1238, allocations: 0 / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1238, allocations: 3.984 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1238, allocations: 0 / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.124, allocations: 89.42 kB / 362.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.124, allocations: 92.89 kB / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1241, allocations: 8 kB / 362.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.1241, allocations: 0 / 362.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-06/0.1241, allocations: 0 / 362.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1241, allocations: 11.92 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.1242, allocations: 83.28 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1242, allocations: 0 / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.1244, allocations: 4 kB / 362.3 MB, free: 8.918 MB / 302.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.0004022/0.1248, allocations: 0.6319 MB / 362.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.1249, allocations: 27.92 kB / 363 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1249, allocations: 0 / 363 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1249, allocations: 0 / 363 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1251, allocations: 18.67 kB / 363 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.1261, allocations: 1.19 MB / 364.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1264, allocations: 0.6887 MB / 364.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.108e-05/0.1264, allocations: 0 / 364.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.1264, allocations: 15.44 kB / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1264, allocations: 3.938 kB / 364.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.145, allocations: 1.29 MB / 366.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/8.856, allocations: 14.64 kB / 366.2 MB, free: 4.98 MB / 302.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