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: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 68.94 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1212, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003405/0.1247, allocations: 1.683 MB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1258, allocations: 0.5587 MB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.126, allocations: 3.938 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1261, allocations: 7.875 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1264, allocations: 27.78 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1267, allocations: 59.86 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1269, allocations: 99.69 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.127, allocations: 37.08 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1272, allocations: 51.78 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1273, allocations: 43.77 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1273, allocations: 4 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.1274, allocations: 16 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.1275, allocations: 19.92 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1275, allocations: 51.59 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.1278, allocations: 91.64 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1278, allocations: 4 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1278, allocations: 0 / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1278, allocations: 0 / 361.6 MB, free: 10.59 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.0007759/0.1286, allocations: 407 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1287, allocations: 8.031 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.1289, allocations: 24.73 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.1292, allocations: 212.2 kB / 362.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1293, allocations: 4.375 kB / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.1293, allocations: 16.06 kB / 362.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1295, allocations: 77.66 kB / 362.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1296, allocations: 0 / 362.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1296, allocations: 4 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1296, allocations: 0 / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1298, allocations: 47.91 kB / 362.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.1305, allocations: 404 kB / 362.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1307, allocations: 66.56 kB / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.1308, allocations: 24.84 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1309, allocations: 4 kB / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1309, allocations: 42.56 kB / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1309, allocations: 0 / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003489/0.1313, allocations: 105.3 kB / 363.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1313, allocations: 51.41 kB / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1315, allocations: 150.4 kB / 363.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1315, allocations: 25.7 kB / 363.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.1316, allocations: 108.1 kB / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1316, allocations: 19.81 kB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1317, allocations: 21.7 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1318, allocations: 318.8 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.1319, allocations: 15.98 kB / 363.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.132, allocations: 27.92 kB / 363.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1321, allocations: 44.84 kB / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1322, allocations: 0 / 363.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.1323, allocations: 97.45 kB / 363.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1323, allocations: 8 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1324, allocations: 0 / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1324, allocations: 0 / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1326, allocations: 35.97 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1326, allocations: 0 / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.1327, allocations: 15.84 kB / 364 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1327, allocations: 240 / 364 MB, free: 8.012 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.032e-05/0.1328, allocations: 121.8 kB / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1328, allocations: 15.83 kB / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.1329, allocations: 12.31 kB / 364.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1329, allocations: 0 / 364.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1329, allocations: 3.938 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1329, allocations: 4 kB / 364.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1331, allocations: 197.6 kB / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1331, allocations: 0 / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1333, allocations: 31.84 kB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1333, allocations: 0 / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1333, allocations: 4 kB / 364.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1333, allocations: 4 kB / 364.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1333, allocations: 0 / 364.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.1336, allocations: 199.7 kB / 364.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1336, allocations: 89.05 kB / 364.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1336, allocations: 8 kB / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.1337, allocations: 4 kB / 364.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1338, allocations: 8.047 kB / 364.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1338, allocations: 0 / 364.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.1339, allocations: 114.8 kB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1339, allocations: 0 / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1341, allocations: 19.91 kB / 364.8 MB, free: 7.102 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 9.782e-05/0.1342, allocations: 99.19 kB / 364.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1344, allocations: 43.98 kB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1344, allocations: 0 / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.1345, allocations: 27.98 kB / 365 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1348, allocations: 37.7 kB / 365 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.1354, allocations: 256.8 kB / 365.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1356, allocations: 0.7051 MB / 366 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.895e-05/0.1357, allocations: 11.94 kB / 366 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1357, allocations: 11.44 kB / 366 MB, free: 5.863 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1357, allocations: 0 / 366 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Templates: time 0.003265/0.139, allocations: 0.8855 MB / 366.9 MB, free: 4.98 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile (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 & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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