Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 251.1 MB, free: 8.469 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.83 kB / 368.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2793, allocations: 53.32 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003223/0.2825, allocations: 1.703 MB / 424 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2836, allocations: 0.5571 MB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.2837, allocations: 0 / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.2838, allocations: 15.86 kB / 424.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.284, allocations: 19.78 kB / 424.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.2843, allocations: 63.86 kB / 424.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.2845, allocations: 95.7 kB / 424.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2846, allocations: 29.11 kB / 424.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2847, allocations: 51.77 kB / 424.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.2848, allocations: 39.78 kB / 424.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2849, allocations: 8 kB / 424.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.2849, allocations: 8 kB / 424.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.285, allocations: 23.91 kB / 424.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.285, allocations: 43.67 kB / 424.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2852, allocations: 94.95 kB / 425 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2852, allocations: 0 / 425 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2852, allocations: 0 / 425 MB, free: 5.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2853, allocations: 4 kB / 425 MB, free: 5.102 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.0007088/0.286, allocations: 407 kB / 425.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.286, allocations: 12.03 kB / 425.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2862, allocations: 24.83 kB / 425.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.2865, allocations: 208.7 kB / 425.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2865, allocations: 12.38 kB / 425.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.2866, allocations: 16.06 kB / 425.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2868, allocations: 81.59 kB / 425.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2868, allocations: 3.938 kB / 425.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2868, allocations: 4 kB / 425.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2868, allocations: 3.984 kB / 425.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.287, allocations: 43.91 kB / 425.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.2877, allocations: 404.1 kB / 426.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.2878, allocations: 58.53 kB / 426.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.2879, allocations: 28.89 kB / 426.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2879, allocations: 0 / 426.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.288, allocations: 38.56 kB / 426.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.288, allocations: 4 kB / 426.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003128/0.2883, allocations: 101.5 kB / 426.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2883, allocations: 55.41 kB / 426.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2885, allocations: 143.4 kB / 426.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2885, allocations: 25.7 kB / 426.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.2886, allocations: 112.2 kB / 426.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2886, allocations: 23.78 kB / 426.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.2887, allocations: 17.72 kB / 426.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2889, allocations: 330.8 kB / 427.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.2889, allocations: 15.98 kB / 427.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.289, allocations: 19.98 kB / 427.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2891, allocations: 48.84 kB / 427.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2891, allocations: 0 / 427.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.2893, allocations: 93.5 kB / 427.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2893, allocations: 8 kB / 427.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2893, allocations: 4 kB / 427.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2893, allocations: 0 / 427.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.2895, allocations: 35.97 kB / 427.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2895, allocations: 0 / 427.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.2896, allocations: 11.94 kB / 427.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2896, allocations: 0 / 427.4 MB, free: 2.512 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 0.0001115/0.2897, allocations: 113.8 kB / 427.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.2897, allocations: 11.89 kB / 427.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.2898, allocations: 24.3 kB / 427.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2898, allocations: 0 / 427.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2898, allocations: 3.938 kB / 427.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2898, allocations: 4 kB / 427.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.29, allocations: 193.6 kB / 427.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.29, allocations: 0 / 427.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.2902, allocations: 27.86 kB / 427.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2902, allocations: 0 / 427.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2902, allocations: 0 / 427.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2902, allocations: 0 / 427.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2902, allocations: 7.938 kB / 427.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.2905, allocations: 199.7 kB / 427.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.2906, allocations: 89.09 kB / 428 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2906, allocations: 7.984 kB / 428 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.2907, allocations: 4 kB / 428 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.2907, allocations: 0 / 428 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2907, allocations: 4 kB / 428 MB, free: 1.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.552e-05/0.2908, allocations: 118.9 kB / 428.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2908, allocations: 0 / 428.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.291, allocations: 19.89 kB / 428.2 MB, free: 1.605 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.000124/0.2912, allocations: 99.19 kB / 428.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.2914, allocations: 43.97 kB / 428.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2914, allocations: 0 / 428.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.2914, allocations: 27.98 kB / 428.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2918, allocations: 23.92 kB / 428.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.2924, allocations: 256.5 kB / 428.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.2928, allocations: 0.708 MB / 429.3 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.2929, allocations: 11.95 kB / 429.3 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2929, allocations: 11.44 kB / 429.3 MB, free: 380 kB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2929, allocations: 0 / 429.3 MB, free: 380 kB / 334.1 MB Notification: Performance of Templates: time 0.004038/0.2969, allocations: 0.929 MB / 430.3 MB, free: 15.45 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches