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.001143/0.001143, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4017, allocations: 50.54 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003635/0.4054, allocations: 1.514 MB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4066, allocations: 474.8 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.4067, allocations: 0 / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.4068, allocations: 7.938 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.4069, allocations: 7.922 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.4073, allocations: 35.53 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.4074, allocations: 39.86 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.4076, allocations: 4 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.4078, allocations: 31.84 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.4078, allocations: 19.92 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4079, allocations: 0 / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.797e-05/0.4079, allocations: 12 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.408, allocations: 7.922 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.408, allocations: 15.94 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4082, allocations: 43.81 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4082, allocations: 0 / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4082, allocations: 0 / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4083, allocations: 0 / 411 MB, free: 15.35 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.0006415/0.4089, allocations: 357 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.409, allocations: 8.031 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.409, allocations: 38.75 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.4092, allocations: 16.86 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.4095, allocations: 176.2 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4096, allocations: 4.375 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.4096, allocations: 4.375 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.4099, allocations: 119.4 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4099, allocations: 0 / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.41, allocations: 4 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.41, allocations: 0 / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.4101, allocations: 19.98 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.4103, allocations: 161.6 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.4104, allocations: 66.47 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.4105, allocations: 24.89 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4105, allocations: 48 / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4106, allocations: 42.42 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4106, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002707/0.4108, allocations: 77.58 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.4109, allocations: 63.34 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.411, allocations: 105.8 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.411, allocations: 25.7 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.4111, allocations: 88.14 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.4111, allocations: 0 / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.4112, allocations: 21.7 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4113, allocations: 314.8 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.4113, allocations: 4 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.4113, allocations: 31.42 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.4114, allocations: 35.38 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4114, allocations: 4 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.4115, allocations: 57.56 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4115, allocations: 4.375 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4116, allocations: 0 / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4116, allocations: 4 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.4117, allocations: 11.94 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4117, allocations: 3.938 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.4117, allocations: 7.906 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.4117, allocations: 4.125 kB / 412.8 MB, free: 13.22 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 9.749e-05/0.4118, allocations: 117.8 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.4119, allocations: 65.61 kB / 413 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.412, allocations: 3.906 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.412, allocations: 0 / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.412, allocations: 7.938 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.412, allocations: 0 / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4122, allocations: 157.7 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4122, allocations: 0 / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.4123, allocations: 23.92 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4123, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4123, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4123, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4123, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.4125, allocations: 93.28 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.4126, allocations: 81.05 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4126, allocations: 7.984 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.4126, allocations: 8.047 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.4127, allocations: 3.984 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4127, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.4127, allocations: 95.2 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4127, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.413, 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.0005283/0.4135, allocations: 0.6241 MB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.4137, allocations: 31.92 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4137, allocations: 0 / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4137, allocations: 0 / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.414, allocations: 19.98 kB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.4153, allocations: 1.195 MB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.4157, allocations: 0.6884 MB / 416 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.368e-05/0.4157, allocations: 4 kB / 416 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.4158, allocations: 15.44 kB / 416 MB, free: 9.723 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4158, allocations: 0 / 416 MB, free: 9.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.4384, allocations: 1.332 MB / 417.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.69, allocations: 11.55 kB / 417.4 MB, free: 8.492 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