Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.00106/0.00106, allocations: 98.64 kB / 16.5 MB, free: 6.641 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.001034/0.001034, allocations: 194.3 kB / 17.42 MB, free: 6.066 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 46.84 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 49.45 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003348/0.1053, allocations: 1.593 MB / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.1057, allocations: 147.5 kB / 351.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1058, allocations: 4 kB / 351.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.917e-05/0.1059, allocations: 3.938 kB / 351.3 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1061, allocations: 3.984 kB / 351.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1064, allocations: 31.92 kB / 351.3 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1065, allocations: 35.84 kB / 351.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1066, allocations: 19.97 kB / 351.3 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.1067, allocations: 15.88 kB / 351.4 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.1067, allocations: 19.92 kB / 351.4 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1067, allocations: 0 / 351.4 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.1068, allocations: 4 kB / 351.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.1068, allocations: 7.938 kB / 351.4 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.1069, allocations: 27.8 kB / 351.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.107, allocations: 47.81 kB / 351.5 MB, free: 2.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.107, allocations: 0 / 351.5 MB, free: 2.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.107, allocations: 0 / 351.5 MB, free: 2.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1071, allocations: 3.938 kB / 351.5 MB, free: 2.762 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.0005001/0.1076, allocations: 363.5 kB / 351.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1076, allocations: 12.03 kB / 351.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.1077, allocations: 34.75 kB / 351.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1077, allocations: 4.844 kB / 351.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.1079, allocations: 196.1 kB / 352.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.108, allocations: 384 / 352.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.108, allocations: 8.375 kB / 352.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1083, allocations: 121.5 kB / 352.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1083, allocations: 3.938 kB / 352.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1083, allocations: 0 / 352.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1084, allocations: 0 / 352.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.1084, allocations: 19.98 kB / 352.2 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1089, allocations: 265.8 kB / 352.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1091, allocations: 138.2 kB / 352.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.1092, allocations: 29.77 kB / 352.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1092, allocations: 0 / 352.6 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1093, allocations: 42.44 kB / 352.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1093, allocations: 0 / 352.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002715/0.1095, allocations: 77.52 kB / 352.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.1096, allocations: 85.11 kB / 352.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1098, allocations: 129.5 kB / 353 MB, free: 1.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1098, allocations: 25.7 kB / 353 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.1099, allocations: 92.25 kB / 353.1 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1099, allocations: 11.94 kB / 353.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.11, allocations: 17.62 kB / 353.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1101, allocations: 314.8 kB / 353.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.1102, allocations: 11.92 kB / 353.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.1102, allocations: 35.42 kB / 353.5 MB, free: 484 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.1103, allocations: 47.36 kB / 353.5 MB, free: 424 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1104, allocations: 7.938 kB / 353.5 MB, free: 416 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.1105, allocations: 57.62 kB / 353.6 MB, free: 352 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1105, allocations: 8.125 kB / 353.6 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1105, allocations: 4 kB / 353.6 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1105, allocations: 3.938 kB / 353.6 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.1106, allocations: 11.98 kB / 353.6 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1106, allocations: 0 / 353.6 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.1107, allocations: 4 kB / 353.6 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1107, allocations: 0 / 353.6 MB, free: 320 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.0001037/0.1108, allocations: 125.8 kB / 353.7 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.1109, allocations: 41.89 kB / 353.8 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.1109, allocations: 24.27 kB / 353.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1109, allocations: 3.938 kB / 353.8 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1109, allocations: 4 kB / 353.8 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.111, allocations: 0 / 353.8 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1112, allocations: 169.6 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1112, allocations: 0 / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.1112, allocations: 8 kB / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1112, allocations: 0 / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1113, allocations: 4 kB / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1113, allocations: 0 / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1113, allocations: 4 kB / 354 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1115, allocations: 164.2 kB / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1116, allocations: 100.9 kB / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1116, allocations: 0 / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.1116, allocations: 7.922 kB / 354.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.1117, allocations: 4 kB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1117, allocations: 8 kB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.1118, allocations: 103.3 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1118, allocations: 0 / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000225/0.112, allocations: 4 kB / 354.4 MB, free: 15.44 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.0004952/0.1125, allocations: 0.7131 MB / 355.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1127, allocations: 27.92 kB / 355.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1127, allocations: 0 / 355.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.1127, allocations: 4 kB / 355.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1131, allocations: 35.89 kB / 355.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1145, allocations: 1.339 MB / 356.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1149, allocations: 0.6887 MB / 357.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.721e-05/0.1149, allocations: 0 / 357.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.115, allocations: 15.42 kB / 357.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.115, allocations: 4 kB / 357.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.1269, allocations: 1.288 MB / 358.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1272, allocations: 211.1 kB / 358.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/1.893, allocations: 4 kB / 358.7 MB, free: 11.01 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches