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.001208/0.001208, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 59.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2831, allocations: 50.54 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002785/0.2859, allocations: 1.692 MB / 410.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.2869, allocations: 0.5493 MB / 411.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.287, allocations: 0 / 411.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2871, allocations: 11.88 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2873, allocations: 23.8 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.2875, allocations: 63.8 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.2877, allocations: 103.7 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2878, allocations: 29.11 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.288, allocations: 47.78 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.2881, allocations: 39.78 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.2881, allocations: 8 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.2882, allocations: 12 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.2883, allocations: 15.92 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.2883, allocations: 47.73 kB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2885, allocations: 103.2 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2885, allocations: 0 / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2886, allocations: 0 / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2886, allocations: 0 / 412 MB, free: 14.88 MB / 334.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.0006241/0.2892, allocations: 408.5 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2892, allocations: 12.02 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.2894, allocations: 16.84 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.2897, allocations: 223.9 kB / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2897, allocations: 384 / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.2898, allocations: 16.12 kB / 412.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2899, allocations: 77.66 kB / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.29, allocations: 0 / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.29, allocations: 0 / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.29, allocations: 0 / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.2901, allocations: 43.97 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.2907, allocations: 411.8 kB / 413.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.2909, allocations: 62.52 kB / 413.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.2909, allocations: 32.89 kB / 413.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.291, allocations: 0 / 413.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.291, allocations: 38.56 kB / 413.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.291, allocations: 0 / 413.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.2913, allocations: 101.5 kB / 413.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.2914, allocations: 55.34 kB / 413.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2915, allocations: 142.4 kB / 413.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2916, allocations: 29.7 kB / 413.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.2917, allocations: 108 kB / 413.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2917, allocations: 27.78 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.2918, allocations: 17.72 kB / 413.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2919, allocations: 322.8 kB / 414.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.292, allocations: 19.98 kB / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.292, allocations: 19.98 kB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2922, allocations: 44.84 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2922, allocations: 0 / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.2923, allocations: 101.6 kB / 414.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2924, allocations: 6.969 kB / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2924, allocations: 0 / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2924, allocations: 0 / 414.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.2926, allocations: 39.97 kB / 414.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2927, allocations: 3.984 kB / 414.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.2927, allocations: 256 / 414.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2927, allocations: 8 kB / 414.3 MB, free: 12.29 MB / 334.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.544e-05/0.2928, allocations: 125.8 kB / 414.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.2929, allocations: 15.78 kB / 414.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.2929, allocations: 16.3 kB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2929, allocations: 0 / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2929, allocations: 0 / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2929, allocations: 0 / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.2931, allocations: 205.5 kB / 414.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2931, allocations: 0 / 414.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2933, allocations: 23.92 kB / 414.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2933, allocations: 0 / 414.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2933, allocations: 11.94 kB / 414.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2933, allocations: 0 / 414.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2933, allocations: 3.984 kB / 414.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.2936, allocations: 195.4 kB / 414.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.2937, allocations: 88.94 kB / 415 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2937, allocations: 4.031 kB / 415 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.2938, allocations: 4.062 kB / 415 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.2938, allocations: 8 kB / 415 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2938, allocations: 7.922 kB / 415 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.2939, allocations: 104.4 kB / 415.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2939, allocations: 4 kB / 415.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.2942, allocations: 16 kB / 415.1 MB, free: 11.38 MB / 334.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.0001048/0.2943, allocations: 91.25 kB / 415.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.2945, allocations: 51.91 kB / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2945, allocations: 4 kB / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.2946, allocations: 19.98 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2949, allocations: 31.55 kB / 415.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.2955, allocations: 260.8 kB / 415.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2958, allocations: 0.7041 MB / 416.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.2958, allocations: 16.12 kB / 416.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.2959, allocations: 15.42 kB / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2959, allocations: 0 / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.003424/0.2993, allocations: 0.8997 MB / 417.2 MB, free: 9.242 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches