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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001233, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.364/1.364, allocations: 230.4 MB / 255.4 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "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.001851/0.001851, allocations: 71.83 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.0958, allocations: 53.31 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003387/0.09918, allocations: 1.71 MB / 429.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1003, allocations: 0.5493 MB / 430.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.1004, allocations: 4 kB / 430.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1005, allocations: 11.86 kB / 430.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1007, allocations: 27.78 kB / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1009, allocations: 55.88 kB / 430.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1011, allocations: 103.7 kB / 430.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1012, allocations: 21.11 kB / 430.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1014, allocations: 51.78 kB / 430.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.1015, allocations: 43.72 kB / 430.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1015, allocations: 11.94 kB / 430.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.1015, allocations: 12 kB / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.1016, allocations: 19.92 kB / 430.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.1016, allocations: 47.72 kB / 430.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1018, allocations: 91.52 kB / 430.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1018, allocations: 3.938 kB / 430.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1018, allocations: 0 / 430.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1018, allocations: 0 / 430.8 MB, free: 1.598 MB / 350.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.0005808/0.1024, allocations: 421 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1024, allocations: 8.031 kB / 431.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1026, allocations: 20.84 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1028, allocations: 212.6 kB / 431.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1028, allocations: 4.375 kB / 431.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.1029, allocations: 12.12 kB / 431.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1031, allocations: 77.66 kB / 431.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1031, allocations: 4 kB / 431.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1031, allocations: 0 / 431.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1031, allocations: 4 kB / 431.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1032, allocations: 50.58 kB / 431.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.1037, allocations: 404 kB / 432 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1039, allocations: 66.53 kB / 432 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.104, allocations: 28.89 kB / 432.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.104, allocations: 0 / 432.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.104, allocations: 38.55 kB / 432.1 MB, free: 108 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.104, allocations: 0 / 432.1 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.1818/0.2858, allocations: 103.2 kB / 432.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.2858, allocations: 52.44 kB / 432.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.286, allocations: 143.4 kB / 432.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.286, allocations: 30.45 kB / 432.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2861, allocations: 107.1 kB / 432.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2861, allocations: 22.05 kB / 432.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.2861, allocations: 22.61 kB / 432.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.2862, allocations: 319.4 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.2863, allocations: 23.09 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.2863, allocations: 17.97 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.2864, allocations: 48.42 kB / 433 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2864, allocations: 5.312 kB / 433 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001838/0.2866, allocations: 90.39 kB / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2866, allocations: 5.922 kB / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2867, allocations: 0 / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2867, allocations: 1.75 kB / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.2869, allocations: 39.62 kB / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2869, allocations: 3.359 kB / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.287, allocations: 6.312 kB / 433.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.287, allocations: 2.578 kB / 433.1 MB, free: 10.76 MB / 350.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 5.895e-05/0.287, allocations: 116.8 kB / 433.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.2871, allocations: 18.34 kB / 433.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.2871, allocations: 11.89 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2871, allocations: 0.5625 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2871, allocations: 0.5625 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2871, allocations: 2.375 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2873, allocations: 204.2 kB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2873, allocations: 3.984 kB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2874, allocations: 26.2 kB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2874, allocations: 2.531 kB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2874, allocations: 0.6562 kB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2874, allocations: 0.9062 kB / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2874, allocations: 0 / 433.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.2877, allocations: 209.8 kB / 433.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.2877, allocations: 86.42 kB / 433.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2877, allocations: 1.75 kB / 433.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.2878, allocations: 2.125 kB / 433.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2878, allocations: 7.906 kB / 433.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2879, allocations: 1.281 kB / 433.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.955e-05/0.2879, allocations: 113.8 kB / 433.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2879, allocations: 2.406 kB / 433.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.2881, allocations: 15.98 kB / 433.9 MB, free: 10.12 MB / 350.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 7.288e-05/0.2882, allocations: 95.81 kB / 434 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2884, allocations: 46.64 kB / 434.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2884, allocations: 0.5 kB / 434.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.2884, allocations: 28 kB / 434.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2888, allocations: 26.11 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.2893, allocations: 300.7 kB / 434.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2894, allocations: 0.7001 MB / 435.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.2895, allocations: 10.88 kB / 435.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2895, allocations: 1.125 kB / 435.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Templates: time 0.002723/0.2922, allocations: 1.221 MB / 436.4 MB, free: 9.09 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.447719993069768]