Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.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.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",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.001175/0.001175, allocations: 92.42 kB / 16.65 MB, free: 6.59 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.001758/0.001758, allocations: 180.4 kB / 17.56 MB, free: 6.203 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.488/1.488, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 11.98 kB / 301.5 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 50.42 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002346/0.1262, allocations: 1.391 MB / 353.3 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1275, allocations: 483.5 kB / 353.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1277, allocations: 8 kB / 353.8 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1279, allocations: 3.938 kB / 353.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.1283, allocations: 23.86 kB / 353.8 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1286, allocations: 39.94 kB / 353.9 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.129, allocations: 95.64 kB / 354 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1292, allocations: 32.97 kB / 354 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.1294, allocations: 27.86 kB / 354 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1295, allocations: 47.7 kB / 354.1 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.1296, allocations: 4 kB / 354.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.1296, allocations: 0 / 354.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.1297, allocations: 15.86 kB / 354.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1298, allocations: 65.44 kB / 354.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.13, allocations: 75.91 kB / 354.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.13, allocations: 0 / 354.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.13, allocations: 0 / 354.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1301, allocations: 4 kB / 354.2 MB, free: 1.293 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008395/0.1309, allocations: 395.2 kB / 354.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.131, allocations: 12.02 kB / 354.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.1311, allocations: 38.75 kB / 354.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1312, allocations: 12.75 kB / 354.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.1316, allocations: 211.5 kB / 354.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1316, allocations: 4 kB / 354.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.1316, allocations: 12 kB / 354.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1319, allocations: 81.03 kB / 355 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1319, allocations: 0 / 355 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.132, allocations: 4 kB / 355 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.132, allocations: 4 kB / 355 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1321, allocations: 39.97 kB / 355 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.133, allocations: 415.9 kB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.1332, allocations: 66.52 kB / 355.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.1333, allocations: 32.89 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1334, allocations: 0 / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.1334, allocations: 38.5 kB / 355.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1334, allocations: 0 / 355.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003831/0.1338, allocations: 101.6 kB / 355.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1339, allocations: 63.34 kB / 355.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1341, allocations: 137.8 kB / 355.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.1341, allocations: 25.7 kB / 355.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1343, allocations: 116 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.1343, allocations: 19.8 kB / 356 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.1344, allocations: 13.72 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1346, allocations: 326.8 kB / 356.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.1347, allocations: 23.98 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.1347, allocations: 16 kB / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1349, allocations: 53 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1349, allocations: 3.938 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001968/0.1351, allocations: 101.5 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.1351, allocations: 12 kB / 356.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1351, allocations: 0 / 356.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1351, allocations: 0 / 356.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.1354, allocations: 35.97 kB / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1354, allocations: 4 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.1355, allocations: 7.922 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.1355, allocations: 4 kB / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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.0001251/0.1356, allocations: 117.8 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.1357, allocations: 15.91 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.1357, allocations: 12.31 kB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1358, allocations: 0 / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1358, allocations: 0 / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1358, allocations: 3.984 kB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.136, allocations: 201.7 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1361, allocations: 0 / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.1363, allocations: 23.98 kB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.1363, allocations: 4 kB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1364, allocations: 7.938 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1364, allocations: 0 / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1364, allocations: 0 / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.1367, allocations: 207.4 kB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1368, allocations: 85.05 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1368, allocations: 0 / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.1369, allocations: 12.05 kB / 357.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.137, allocations: 0 / 357.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.137, allocations: 8 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.958e-05/0.1371, allocations: 108.8 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1371, allocations: 3.938 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1373, allocations: 12 kB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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.0007204/0.1381, allocations: 0.7512 MB / 358.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1383, allocations: 51.97 kB / 358.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1383, allocations: 0 / 358.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.1384, allocations: 35.98 kB / 358.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1388, allocations: 26.61 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1412, allocations: 1.623 MB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1417, allocations: 0.7004 MB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1417, allocations: 16.23 kB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.1418, allocations: 31.42 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1418, allocations: 0 / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.1573, allocations: 1.989 MB / 362.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.1576, allocations: 193.1 kB / 362.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.069, allocations: 0 / 362.8 MB, free: 8.254 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches