Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.83 kB / 306.3 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 50.53 MB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003467/0.1062, allocations: 1.754 MB / 358.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1074, allocations: 0.5454 MB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.1075, allocations: 4 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1077, allocations: 3.938 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1079, allocations: 23.86 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1081, allocations: 55.88 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1083, allocations: 91.7 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1084, allocations: 41.08 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1086, allocations: 35.8 kB / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.1087, allocations: 43.78 kB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1087, allocations: 8 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.1088, allocations: 11.98 kB / 359.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1089, allocations: 15.92 kB / 359.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.1089, allocations: 39.73 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1091, allocations: 91.8 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1091, allocations: 0 / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1091, allocations: 0 / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.1091, allocations: 0 / 359.6 MB, free: 11.39 MB / 302.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.0006714/0.1098, allocations: 417.3 kB / 360 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1099, allocations: 8.031 kB / 360 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.1099, allocations: 46.67 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.1101, allocations: 24.73 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1104, allocations: 205.4 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1104, allocations: 8.375 kB / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.1104, allocations: 11.94 kB / 360.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1106, allocations: 73.66 kB / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1107, allocations: 0 / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1107, allocations: 11.94 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1107, allocations: 4 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1109, allocations: 39.95 kB / 360.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.1116, allocations: 407.9 kB / 360.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1117, allocations: 62.59 kB / 360.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.1119, allocations: 28.89 kB / 361 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1119, allocations: 0 / 361 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1119, allocations: 30.56 kB / 361 MB, free: 9.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1119, allocations: 4 kB / 361 MB, free: 9.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003653/0.1123, allocations: 101.4 kB / 361.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1124, allocations: 59.41 kB / 361.1 MB, free: 9.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1125, allocations: 140.7 kB / 361.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1125, allocations: 25.7 kB / 361.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.1126, allocations: 124 kB / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1127, allocations: 7.812 kB / 361.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.1127, allocations: 21.72 kB / 361.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1129, allocations: 322.8 kB / 361.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.113, allocations: 23.98 kB / 361.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.113, allocations: 19.98 kB / 361.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1132, allocations: 52.83 kB / 361.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1132, allocations: 0 / 361.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.1133, allocations: 89.47 kB / 362 MB, free: 8.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1134, allocations: 4 kB / 362 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1134, allocations: 4 kB / 362 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1134, allocations: 3.984 kB / 362 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1136, allocations: 39.97 kB / 362 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1136, allocations: 0 / 362 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.1137, allocations: 11.84 kB / 362 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1137, allocations: 0 / 362 MB, free: 8.762 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 8.431e-05/0.1138, allocations: 121.7 kB / 362.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1138, allocations: 11.84 kB / 362.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.1139, allocations: 20.3 kB / 362.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1139, allocations: 0 / 362.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1139, allocations: 3.938 kB / 362.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1139, allocations: 4 kB / 362.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1141, allocations: 193.9 kB / 362.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1141, allocations: 3.938 kB / 362.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.1142, allocations: 23.98 kB / 362.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1142, allocations: 4 kB / 362.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1143, allocations: 0 / 362.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1143, allocations: 4.219 kB / 362.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1143, allocations: 0 / 362.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1145, allocations: 203.4 kB / 362.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.1146, allocations: 92.97 kB / 362.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1146, allocations: 0 / 362.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1147, allocations: 0 / 362.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.1148, allocations: 4 kB / 362.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1148, allocations: 11.92 kB / 362.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.903e-05/0.1149, allocations: 110.1 kB / 362.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1149, allocations: 3.938 kB / 362.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1151, allocations: 19.97 kB / 362.8 MB, free: 7.852 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.0004478/0.1156, allocations: 0.7241 MB / 363.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1157, allocations: 51.91 kB / 363.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1157, allocations: 4.062 kB / 363.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.1158, allocations: 27.98 kB / 363.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1163, allocations: 19.97 kB / 363.7 MB, free: 7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.1185, allocations: 1.599 MB / 365.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1188, allocations: 0.7015 MB / 366 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.886e-05/0.1189, allocations: 12.23 kB / 366 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.119, allocations: 31.42 kB / 366 MB, free: 4.551 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.119, allocations: 0 / 366 MB, free: 4.551 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.1332, allocations: 2.093 MB / 368.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.1335, allocations: 185.5 kB / 368.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.793, allocations: 3.938 kB / 368.3 MB, free: 2.27 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_InverseModel.fmu > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches