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.001203/0.001203, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001094/0.001094, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.364/1.364, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 46.17 kB / 300.7 MB, free: 5.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 49.45 MB / 350.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003327/0.1153, allocations: 1.483 MB / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.1161, allocations: 436.4 kB / 352.1 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.1161, allocations: 3.938 kB / 352.1 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.1162, allocations: 0 / 352.1 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.1163, allocations: 7.875 kB / 352.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.1166, allocations: 33.28 kB / 352.1 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.1167, allocations: 39.86 kB / 352.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1168, allocations: 7.984 kB / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.1169, allocations: 23.86 kB / 352.2 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1169, allocations: 15.92 kB / 352.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1169, allocations: 4 kB / 352.2 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.117, allocations: 4 kB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.117, allocations: 7.984 kB / 352.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.117, allocations: 15.88 kB / 352.2 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.085e-05/0.1171, allocations: 43.88 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1171, allocations: 0 / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1171, allocations: 0 / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1172, allocations: 0 / 352.3 MB, free: 2.156 MB / 286.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.0004432/0.1176, allocations: 347.5 kB / 352.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1177, allocations: 16.02 kB / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1177, allocations: 34.75 kB / 352.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.1177, allocations: 8.844 kB / 352.7 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1179, allocations: 172.3 kB / 352.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1179, allocations: 8.375 kB / 352.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.118, allocations: 4.375 kB / 352.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.1183, allocations: 123.2 kB / 353 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1183, allocations: 3.938 kB / 353 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1183, allocations: 0 / 353 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1184, allocations: 8 kB / 353 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.1184, allocations: 15.98 kB / 353 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.1186, allocations: 161.7 kB / 353.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1188, allocations: 62.48 kB / 353.2 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.1189, allocations: 20.94 kB / 353.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1189, allocations: 7.984 kB / 353.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1189, allocations: 34.5 kB / 353.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.444e-06/0.1189, allocations: 3.984 kB / 353.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.1192, allocations: 73.67 kB / 353.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1192, allocations: 55.34 kB / 353.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.1193, allocations: 109.8 kB / 353.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1193, allocations: 25.7 kB / 353.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.1194, allocations: 88.14 kB / 353.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.1194, allocations: 7.984 kB / 353.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1194, allocations: 13.72 kB / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1196, allocations: 318.8 kB / 354 MB, free: 244 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.1196, allocations: 0 / 354 MB, free: 244 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.1196, allocations: 27.42 kB / 354 MB, free: 204 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.1197, allocations: 39.38 kB / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1197, allocations: 0 / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.268e-05/0.1198, allocations: 65.47 kB / 354.1 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1198, allocations: 8 kB / 354.1 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1198, allocations: 0 / 354.1 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1198, allocations: 4.125 kB / 354.1 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.1199, allocations: 11.94 kB / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1199, allocations: 3.938 kB / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.1199, allocations: 4 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1199, allocations: 4 kB / 354.1 MB, free: 44 kB / 286.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.0001022/0.1201, allocations: 109.8 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1202, allocations: 61.61 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.1202, allocations: 12.28 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1202, allocations: 4 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1202, allocations: 0 / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1203, allocations: 3.984 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1204, allocations: 161.5 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1204, allocations: 4 kB / 354.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.1204, allocations: 15.86 kB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1205, allocations: 0 / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1205, allocations: 4 kB / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1205, allocations: 0 / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1205, allocations: 0 / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1206, allocations: 85.11 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.1207, allocations: 96.94 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1207, allocations: 0 / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.1208, allocations: 0 / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-06/0.1208, allocations: 4 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1208, allocations: 0 / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.1208, allocations: 91.27 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1208, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.121, allocations: 8 kB / 354.8 MB, free: 15.29 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.0004338/0.1215, allocations: 0.6322 MB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1216, allocations: 24.11 kB / 355.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1216, allocations: 8.062 kB / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1216, allocations: 0 / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1218, allocations: 19.98 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1229, allocations: 1.202 MB / 356.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1232, allocations: 0.6807 MB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.359e-05/0.1232, allocations: 4 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.1232, allocations: 15.42 kB / 357.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1232, allocations: 0 / 357.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.1421, allocations: 1.303 MB / 358.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.027, allocations: 15.88 kB / 358.7 MB, free: 11.32 MB / 302.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