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.0009111/0.0009111, allocations: 97.22 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002312/0.0002313, allocations: 4 kB / 308.4 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09521, allocations: 51.53 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001813/0.09706, allocations: 1.4 MB / 361.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.09803, allocations: 0.5456 MB / 361.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.09814, allocations: 0 / 361.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.168e-05/0.09823, allocations: 7.875 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.0984, allocations: 23.84 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.09861, allocations: 47.94 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.09878, allocations: 95.64 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.0989, allocations: 37.08 kB / 362.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.09904, allocations: 39.86 kB / 362.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.09915, allocations: 39.72 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.09918, allocations: 0 / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.09923, allocations: 8 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.09929, allocations: 19.91 kB / 362.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.09936, allocations: 65.44 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.09947, allocations: 60.11 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.09948, allocations: 0 / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09949, allocations: 0 / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.0995, allocations: 0 / 362.3 MB, free: 10.65 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.0005959/0.1001, allocations: 407 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1001, allocations: 11.97 kB / 362.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.1003, allocations: 24.83 kB / 362.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1005, allocations: 208 kB / 362.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1006, allocations: 4.375 kB / 362.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1006, allocations: 12.12 kB / 362.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1008, allocations: 77.66 kB / 363 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1008, allocations: 0 / 363 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1008, allocations: 4 kB / 363 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1008, allocations: 0 / 363 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.101, allocations: 51.97 kB / 363.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.1016, allocations: 407.8 kB / 363.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1017, allocations: 78.55 kB / 363.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.1018, allocations: 28.86 kB / 363.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1018, allocations: 0 / 363.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1019, allocations: 34.55 kB / 363.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1019, allocations: 0 / 363.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002857/0.1022, allocations: 105.7 kB / 363.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1022, allocations: 55.34 kB / 363.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1023, allocations: 150.4 kB / 363.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1024, allocations: 25.7 kB / 363.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1025, allocations: 108.1 kB / 364 MB, free: 8.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1025, allocations: 15.81 kB / 364.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.1025, allocations: 13.72 kB / 364.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.1026, allocations: 326.8 kB / 364.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.1027, allocations: 19.98 kB / 364.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.1028, allocations: 19.98 kB / 364.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1029, allocations: 52.84 kB / 364.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1029, allocations: 4 kB / 364.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001756/0.1031, allocations: 101.4 kB / 364.6 MB, free: 8.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1031, allocations: 8 kB / 364.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1031, allocations: 4.047 kB / 364.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1031, allocations: 4 kB / 364.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1034, allocations: 35.97 kB / 364.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1034, allocations: 4 kB / 364.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.1034, allocations: 15.88 kB / 364.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1035, allocations: 4 kB / 364.7 MB, free: 8.035 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.164e-05/0.1035, allocations: 117.8 kB / 364.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.1036, allocations: 11.84 kB / 364.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.1036, allocations: 20.3 kB / 364.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1036, allocations: 0 / 364.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1036, allocations: 0 / 364.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1036, allocations: 0 / 364.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1038, allocations: 197.6 kB / 365 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1038, allocations: 4 kB / 365 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.104, allocations: 23.92 kB / 365 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.104, allocations: 4 kB / 365 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.104, allocations: 7.922 kB / 365 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.104, allocations: 240 / 365 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.104, allocations: 0 / 365 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1043, allocations: 207.4 kB / 365.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1044, allocations: 92.97 kB / 365.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1044, allocations: 0 / 365.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.1045, allocations: 4 kB / 365.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1045, allocations: 7.984 kB / 365.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1045, allocations: 4 kB / 365.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.171e-05/0.1046, allocations: 106.3 kB / 365.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1046, allocations: 0 / 365.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1049, allocations: 23.97 kB / 365.5 MB, free: 7.129 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.531e-05/0.105, allocations: 99.23 kB / 365.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1051, allocations: 51.92 kB / 365.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1051, allocations: 0 / 365.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.1052, allocations: 23.98 kB / 365.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1056, allocations: 24.11 kB / 365.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.1061, allocations: 335.3 kB / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1064, allocations: 0.7054 MB / 366.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.1064, allocations: 11.44 kB / 366.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1064, allocations: 4 kB / 366.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of Templates: time 0.002782/0.1092, allocations: 1.196 MB / 367.9 MB, free: 4.625 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 -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