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: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001322, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001412/0.001412, allocations: 180.5 kB / 18.66 MB, free: 4.449 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 51.91 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3786, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003281/0.3819, allocations: 1.685 MB / 403.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000949/0.3829, allocations: 490.8 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.383, allocations: 3.938 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.3831, allocations: 7.875 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.3834, allocations: 31.8 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3836, allocations: 47.92 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3838, allocations: 95.7 kB / 403.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3839, allocations: 33.09 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3841, allocations: 39.8 kB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3842, allocations: 47.75 kB / 403.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3842, allocations: 11.94 kB / 403.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.3842, allocations: 8 kB / 403.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.3843, allocations: 19.92 kB / 403.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3844, allocations: 35.75 kB / 403.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3845, allocations: 85.05 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3846, allocations: 3.938 kB / 404 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3846, allocations: 4 kB / 404 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3846, allocations: 0 / 404 MB, free: 6.223 MB / 318.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.0006563/0.3852, allocations: 418.7 kB / 404.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3853, allocations: 8.031 kB / 404.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3853, allocations: 12.84 kB / 404.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3857, allocations: 210 kB / 404.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3857, allocations: 8 kB / 404.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.3857, allocations: 4 kB / 404.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3859, allocations: 77.66 kB / 404.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.386, allocations: 4 kB / 404.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.386, allocations: 3.938 kB / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.386, allocations: 4 kB / 404.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3861, allocations: 35.98 kB / 404.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.3867, allocations: 411.8 kB / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3869, allocations: 74.52 kB / 405.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.387, allocations: 28.89 kB / 405.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.387, allocations: 0 / 405.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.3871, allocations: 34.5 kB / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.3871, allocations: 0 / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000296/0.3874, allocations: 97.56 kB / 405.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3874, allocations: 59.34 kB / 405.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3876, allocations: 144.1 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3876, allocations: 25.7 kB / 405.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.3877, allocations: 108.1 kB / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3877, allocations: 19.8 kB / 405.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3877, allocations: 17.72 kB / 405.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3879, allocations: 322.8 kB / 406.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.3879, allocations: 15.98 kB / 406.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.388, allocations: 23.98 kB / 406.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3881, allocations: 48.84 kB / 406.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3881, allocations: 3.938 kB / 406.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001711/0.3883, allocations: 93.56 kB / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3883, allocations: 4 kB / 406.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3884, allocations: 3.938 kB / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3884, allocations: 0 / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3886, allocations: 40.22 kB / 406.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3886, allocations: 4 kB / 406.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.3887, allocations: 7.906 kB / 406.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3887, allocations: 7.984 kB / 406.4 MB, free: 3.66 MB / 318.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 9.61e-05/0.3888, allocations: 121.8 kB / 406.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3888, allocations: 7.906 kB / 406.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.3889, allocations: 12.25 kB / 406.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3889, allocations: 4 kB / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3889, allocations: 0 / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3889, allocations: 4 kB / 406.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3891, allocations: 201.5 kB / 406.7 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3891, allocations: 3.938 kB / 406.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3893, allocations: 23.97 kB / 406.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3893, allocations: 0 / 406.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3893, allocations: 0 / 406.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3893, allocations: 0 / 406.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3893, allocations: 3.938 kB / 406.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3896, allocations: 207.4 kB / 406.9 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.3896, allocations: 85.05 kB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3897, allocations: 0 / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.3898, allocations: 7.984 kB / 407 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3898, allocations: 4 kB / 407 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3898, allocations: 4 kB / 407 MB, free: 2.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.3899, allocations: 107.2 kB / 407.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3899, allocations: 0 / 407.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.3901, allocations: 15.97 kB / 407.2 MB, free: 2.762 MB / 318.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.0001327/0.3903, allocations: 103.2 kB / 407.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.3905, allocations: 55.84 kB / 407.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3905, allocations: 0 / 407.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.3905, allocations: 23.98 kB / 407.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3909, allocations: 15.98 kB / 407.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.3915, allocations: 287.2 kB / 407.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3918, allocations: 0.7079 MB / 408.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.3919, allocations: 11.44 kB / 408.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3919, allocations: 0 / 408.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of Templates: time 0.003075/0.395, allocations: 1.21 MB / 409.6 MB, free: 296 kB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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