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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.00159, allocations: 116 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 189.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 43.92 kB / 358.6 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09298, allocations: 49.45 MB / 408.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002783/0.0958, allocations: 1.676 MB / 409.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.09661, allocations: 486.8 kB / 410.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.09669, allocations: 4 kB / 410.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.791e-05/0.0968, allocations: 15.8 kB / 410.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.09698, allocations: 31.75 kB / 410.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.09715, allocations: 43.92 kB / 410.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.09733, allocations: 99.69 kB / 410.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.09745, allocations: 37.03 kB / 410.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.09754, allocations: 43.78 kB / 410.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.09764, allocations: 43.77 kB / 410.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.09767, allocations: 11.94 kB / 410.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.09769, allocations: 8 kB / 410.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.09775, allocations: 19.92 kB / 410.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.09781, allocations: 43.73 kB / 410.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.09795, allocations: 83.58 kB / 410.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.09796, allocations: 0 / 410.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09797, allocations: 0 / 410.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.09797, allocations: 0 / 410.7 MB, free: 4.254 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.0005755/0.09855, allocations: 422.9 kB / 411.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.09859, allocations: 8.031 kB / 411.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.09863, allocations: 12.89 kB / 411.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.0989, allocations: 208.4 kB / 411.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.09892, allocations: 8 kB / 411.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.09895, allocations: 4 kB / 411.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.09914, allocations: 81.59 kB / 411.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.09916, allocations: 4 kB / 411.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.09918, allocations: 8 kB / 411.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.09919, allocations: 0 / 411.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.09931, allocations: 39.97 kB / 411.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.09989, allocations: 408 kB / 411.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1, allocations: 66.56 kB / 412 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.1001, allocations: 28.86 kB / 412 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1001, allocations: 4 kB / 412 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1002, allocations: 38.48 kB / 412 MB, free: 2.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1002, allocations: 0 / 412 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002786/0.1005, allocations: 89.62 kB / 412.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1005, allocations: 55.41 kB / 412.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1007, allocations: 144.6 kB / 412.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1007, allocations: 29.64 kB / 412.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.1008, allocations: 112.1 kB / 412.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1008, allocations: 19.94 kB / 412.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1008, allocations: 21.72 kB / 412.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.101, allocations: 318.8 kB / 412.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.101, allocations: 19.98 kB / 412.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.1011, allocations: 23.98 kB / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1012, allocations: 48.84 kB / 412.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1012, allocations: 3.938 kB / 412.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001745/0.1014, allocations: 85.62 kB / 413 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1014, allocations: 4 kB / 413 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1014, allocations: 0 / 413 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1015, allocations: 7.984 kB / 413 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1017, allocations: 39.91 kB / 413 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1017, allocations: 7.875 kB / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1018, allocations: 11.95 kB / 413.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1018, allocations: 4 kB / 413.1 MB, free: 1.68 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 9.116e-05/0.1019, allocations: 117.8 kB / 413.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1019, allocations: 7.953 kB / 413.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.1019, allocations: 16.3 kB / 413.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.102, allocations: 3.984 kB / 413.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.102, allocations: 0 / 413.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.102, allocations: 0 / 413.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1022, allocations: 197.6 kB / 413.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1022, allocations: 4 kB / 413.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1023, allocations: 19.98 kB / 413.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1024, allocations: 0 / 413.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1024, allocations: 4 kB / 413.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1024, allocations: 0 / 413.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1024, allocations: 4.234 kB / 413.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.1027, allocations: 207.4 kB / 413.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.1027, allocations: 97 kB / 413.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1028, allocations: 4.031 kB / 413.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.1029, allocations: 4 kB / 413.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.1029, allocations: 4 kB / 413.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1029, allocations: 3.984 kB / 413.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.496e-05/0.103, allocations: 104 kB / 413.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.103, allocations: 0 / 413.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1032, allocations: 12 kB / 413.9 MB, free: 0.7852 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 9.325e-05/0.1033, allocations: 107.2 kB / 414 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1035, allocations: 55.84 kB / 414 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1035, allocations: 0 / 414 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.1036, allocations: 19.98 kB / 414 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1039, allocations: 19.98 kB / 414.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.1045, allocations: 302.5 kB / 414.3 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1049, allocations: 0.7002 MB / 415 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.1049, allocations: 11.44 kB / 415.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1049, allocations: 0 / 415.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Templates: time 0.002809/0.1077, allocations: 1.201 MB / 416.3 MB, free: 14.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.796429771929979]