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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002277/0.002277, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002937/0.002937, allocations: 207.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 53.4 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003083/0.3028, allocations: 1.673 MB / 433.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3039, allocations: 0.5181 MB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.304, allocations: 4 kB / 433.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3041, allocations: 7.875 kB / 433.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3043, allocations: 27.72 kB / 433.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.3045, allocations: 63.91 kB / 433.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3047, allocations: 99.64 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3048, allocations: 29.08 kB / 434 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.305, allocations: 43.84 kB / 434.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3051, allocations: 51.7 kB / 434.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3051, allocations: 4 kB / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.3051, allocations: 12 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.3052, allocations: 23.86 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.3052, allocations: 31.8 kB / 434.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3054, allocations: 83.36 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3054, allocations: 0 / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3054, allocations: 0 / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3054, allocations: 0 / 434.3 MB, free: 3.879 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.0006062/0.306, allocations: 352.4 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3061, allocations: 11.98 kB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.3062, allocations: 24.83 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3065, allocations: 150.5 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3065, allocations: 8.375 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.3065, allocations: 8.125 kB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3067, allocations: 81.59 kB / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3067, allocations: 0 / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3067, allocations: 7.938 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3067, allocations: 8 kB / 434.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3069, allocations: 31.98 kB / 435 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.3074, allocations: 280.3 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3075, allocations: 66.62 kB / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.3076, allocations: 28.84 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3076, allocations: 0 / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3077, allocations: 30.56 kB / 435.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3077, allocations: 4 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003155/0.308, allocations: 105.5 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.308, allocations: 55.34 kB / 435.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3082, allocations: 146.4 kB / 435.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3082, allocations: 25.7 kB / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.3083, allocations: 112.2 kB / 435.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.3083, allocations: 19.8 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3083, allocations: 25.7 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3085, allocations: 318.8 kB / 436.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.3085, allocations: 31.97 kB / 436.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.3086, allocations: 23.98 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3087, allocations: 44.84 kB / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3087, allocations: 0 / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.3089, allocations: 89.56 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3089, allocations: 11.94 kB / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3089, allocations: 0 / 436.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3089, allocations: 3.938 kB / 436.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3091, allocations: 39.97 kB / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3091, allocations: 0 / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3092, allocations: 11.95 kB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3092, allocations: 0 / 436.4 MB, free: 1.59 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.518e-05/0.3093, allocations: 113.8 kB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3093, allocations: 15.89 kB / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3094, allocations: 12.39 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3094, allocations: 0 / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3094, allocations: 7.938 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3094, allocations: 0 / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.3095, allocations: 133.3 kB / 436.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3095, allocations: 0 / 436.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3097, allocations: 23.97 kB / 436.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3097, allocations: 0 / 436.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3097, allocations: 11.94 kB / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3097, allocations: 0 / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3097, allocations: 240 / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.31, allocations: 195.8 kB / 436.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.31, allocations: 15.94 kB / 436.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.31, allocations: 3.938 kB / 436.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.3101, allocations: 8.062 kB / 436.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3102, allocations: 7.984 kB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3102, allocations: 3.938 kB / 436.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.756e-05/0.3102, allocations: 118.6 kB / 437.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3102, allocations: 0 / 437.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.3105, allocations: 15.94 kB / 437.1 MB, free: 0.8633 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.0001014/0.3106, allocations: 91.25 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3107, allocations: 47.95 kB / 437.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3107, allocations: 4 kB / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.3108, allocations: 23.94 kB / 437.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3111, allocations: 33.41 kB / 437.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.3117, allocations: 252.9 kB / 437.5 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3118, allocations: 97.7 kB / 437.6 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.3119, allocations: 11.94 kB / 437.6 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3119, allocations: 11.44 kB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3119, allocations: 3.938 kB / 437.6 MB, free: 252 kB / 334.1 MB Notification: Performance of Templates: time 0.003946/0.3159, allocations: 1.029 MB / 438.7 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.608925525099039]