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.001157/0.001158, allocations: 112.7 kB / 16.63 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.001177/0.001177, allocations: 186 kB / 17.55 MB, free: 5.934 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.301/1.301, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 47.3 kB / 300.2 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 49.44 MB / 349.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002813/0.1136, allocations: 1.6 MB / 351.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003735/0.114, allocations: 143.5 kB / 351.4 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.593e-05/0.1141, allocations: 0 / 351.4 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.662e-05/0.1142, allocations: 3.938 kB / 351.4 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1143, allocations: 11.98 kB / 351.4 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1145, allocations: 31.91 kB / 351.5 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.1146, allocations: 35.86 kB / 351.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.1147, allocations: 16 kB / 351.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.1148, allocations: 15.92 kB / 351.5 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.1148, allocations: 11.94 kB / 351.6 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1148, allocations: 0 / 351.6 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.1149, allocations: 4 kB / 351.6 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1149, allocations: 19.91 kB / 351.6 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.115, allocations: 19.81 kB / 351.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.1151, allocations: 43.83 kB / 351.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1151, allocations: 0 / 351.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1151, allocations: 4 kB / 351.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1151, allocations: 0 / 351.6 MB, free: 2.453 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.0004216/0.1155, allocations: 373.9 kB / 352 MB, free: 2.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1156, allocations: 12.03 kB / 352 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.1156, allocations: 34.69 kB / 352.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.1156, allocations: 8.844 kB / 352.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1158, allocations: 192.1 kB / 352.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-06/0.1158, allocations: 384 / 352.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1159, allocations: 8.375 kB / 352.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.1161, allocations: 121.5 kB / 352.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1162, allocations: 3.938 kB / 352.4 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1162, allocations: 8 kB / 352.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1162, allocations: 3.938 kB / 352.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.1163, allocations: 23.97 kB / 352.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.1166, allocations: 249.8 kB / 352.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1168, allocations: 142.2 kB / 352.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.1168, allocations: 33.77 kB / 352.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1169, allocations: 0 / 352.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1169, allocations: 42.48 kB / 352.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1169, allocations: 0 / 352.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002237/0.1171, allocations: 77.52 kB / 352.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1172, allocations: 85.17 kB / 353 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1173, allocations: 137.6 kB / 353.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1173, allocations: 29.7 kB / 353.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.1174, allocations: 84.14 kB / 353.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.1174, allocations: 3.938 kB / 353.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1174, allocations: 25.61 kB / 353.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.1175, allocations: 318.8 kB / 353.6 MB, free: 204 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.1176, allocations: 11.98 kB / 353.6 MB, free: 192 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.1176, allocations: 27.44 kB / 353.7 MB, free: 152 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.1177, allocations: 47.36 kB / 353.7 MB, free: 92 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1177, allocations: 7.938 kB / 353.7 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.1179, allocations: 61.61 kB / 353.8 MB, free: 16 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1179, allocations: 8 kB / 353.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1179, allocations: 0 / 353.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1179, allocations: 0 / 353.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.118, allocations: 8.109 kB / 353.8 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.118, allocations: 11.92 kB / 353.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.118, allocations: 128 / 353.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1181, allocations: 8 kB / 353.8 MB, free: 15.98 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 7.874e-05/0.1181, allocations: 117.8 kB / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.1182, allocations: 49.59 kB / 354 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.1183, allocations: 12.25 kB / 354 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1183, allocations: 0 / 354 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1183, allocations: 0 / 354 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1183, allocations: 0 / 354 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1185, allocations: 177.5 kB / 354.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1185, allocations: 0 / 354.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.1185, allocations: 19.92 kB / 354.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1185, allocations: 4.328 kB / 354.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1185, allocations: 0 / 354.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1185, allocations: 0 / 354.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1186, allocations: 0 / 354.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1187, allocations: 172.2 kB / 354.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.1188, allocations: 100.8 kB / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1188, allocations: 0 / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.1189, allocations: 4 kB / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1189, allocations: 0 / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1189, allocations: 0 / 354.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.563e-05/0.119, allocations: 107.2 kB / 354.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.119, allocations: 0 / 354.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1192, allocations: 4 kB / 354.6 MB, free: 15.12 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.000427/0.1197, allocations: 0.7131 MB / 355.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1198, allocations: 35.91 kB / 355.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1198, allocations: 0 / 355.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.1198, allocations: 8.25 kB / 355.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1202, allocations: 29.45 kB / 355.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1213, allocations: 1.334 MB / 356.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1216, allocations: 0.6885 MB / 357.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.321e-05/0.1216, allocations: 0 / 357.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.1216, allocations: 19.44 kB / 357.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1216, allocations: 0 / 357.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.1321, allocations: 1.34 MB / 358.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.1323, allocations: 215.5 kB / 358.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.135, allocations: 3.938 kB / 358.9 MB, free: 10.65 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