Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.001204, allocations: 106 kB / 16.62 MB, free: 6.812 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.001314/0.001314, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.284/1.284, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 51.33 kB / 300.2 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1151, allocations: 49.44 MB / 349.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003419/0.1186, allocations: 1.616 MB / 351.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.1196, allocations: 478.8 kB / 351.8 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1197, allocations: 0 / 351.8 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.949e-05/0.1198, allocations: 7.922 kB / 351.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.12, allocations: 7.984 kB / 351.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1203, allocations: 33.53 kB / 351.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1204, allocations: 55.78 kB / 351.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1205, allocations: 12 kB / 351.9 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.1206, allocations: 19.92 kB / 351.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.1207, allocations: 23.84 kB / 351.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.1207, allocations: 4 kB / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.1208, allocations: 4 kB / 351.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.1208, allocations: 8 kB / 352 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.1209, allocations: 31.8 kB / 352 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.121, allocations: 47.75 kB / 352 MB, free: 2.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.121, allocations: 0 / 352 MB, free: 2.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.121, allocations: 3.938 kB / 352 MB, free: 2.324 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1211, allocations: 3.984 kB / 352 MB, free: 2.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006564/0.1217, allocations: 379.4 kB / 352.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1218, allocations: 8.031 kB / 352.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1218, allocations: 34.75 kB / 352.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.1219, allocations: 12.75 kB / 352.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1221, allocations: 191.5 kB / 352.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1221, allocations: 384 / 352.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1222, allocations: 12.31 kB / 352.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1225, allocations: 117.1 kB / 352.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1225, allocations: 0 / 352.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1225, allocations: 11.98 kB / 352.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1225, allocations: 0 / 352.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.1226, allocations: 19.98 kB / 352.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.123, allocations: 273.5 kB / 353.1 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1233, allocations: 138.3 kB / 353.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1234, allocations: 29.78 kB / 353.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1234, allocations: 3.984 kB / 353.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1234, allocations: 34.5 kB / 353.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.1234, allocations: 0 / 353.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002981/0.1237, allocations: 85.52 kB / 353.4 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.1238, allocations: 81.11 kB / 353.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.124, allocations: 141.8 kB / 353.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.124, allocations: 25.7 kB / 353.6 MB, free: 0.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1241, allocations: 88.14 kB / 353.7 MB, free: 420 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1241, allocations: 0 / 353.7 MB, free: 420 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1242, allocations: 21.62 kB / 353.7 MB, free: 392 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1243, allocations: 322.9 kB / 354 MB, free: 60 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.1244, allocations: 12 kB / 354 MB, free: 48 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.1245, allocations: 31.42 kB / 354.1 MB, free: 4 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1246, allocations: 51.36 kB / 354.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1246, allocations: 0 / 354.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001519/0.1247, allocations: 65.61 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1248, allocations: 4 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1248, allocations: 7.938 kB / 354.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1248, allocations: 0 / 354.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.1249, allocations: 12.11 kB / 354.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1249, allocations: 8 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.125, allocations: 4 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.125, allocations: 3.984 kB / 354.2 MB, free: 15.83 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 0.0001065/0.1251, allocations: 121.8 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.1252, allocations: 49.59 kB / 354.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1252, allocations: 12.19 kB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1252, allocations: 7.984 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1253, allocations: 3.938 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1253, allocations: 4 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1255, allocations: 173.6 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1255, allocations: 4 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.1256, allocations: 4 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1256, allocations: 7.984 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1256, allocations: 0 / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1256, allocations: 0 / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1256, allocations: 0 / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.1258, allocations: 180.5 kB / 354.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.1259, allocations: 89 kB / 354.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1259, allocations: 11.94 kB / 354.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.126, allocations: 0 / 354.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1261, allocations: 4 kB / 354.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1261, allocations: 3.938 kB / 354.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.1262, allocations: 109.4 kB / 355 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 355 MB, free: 14.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1264, allocations: 8 kB / 355 MB, free: 14.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004779/0.1269, allocations: 0.7086 MB / 355.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.127, allocations: 36.03 kB / 355.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1271, allocations: 0 / 355.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.1271, allocations: 12 kB / 355.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1275, allocations: 26.36 kB / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1289, allocations: 1.377 MB / 357.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1292, allocations: 0.6963 MB / 357.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.1293, allocations: 3.984 kB / 357.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1293, allocations: 15.44 kB / 357.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1293, allocations: 0 / 357.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.1418, allocations: 1.419 MB / 359.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.1421, allocations: 215.8 kB / 359.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.98, allocations: 0 / 359.5 MB, free: 10.36 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches