Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 116.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 200.8 kB / 25.23 MB, free: 3.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003077/0.003077, allocations: 59.92 kB / 348.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3057, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002789/0.3085, allocations: 1.689 MB / 399.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.3094, allocations: 0.539 MB / 399.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.3095, allocations: 6.125 kB / 399.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.3097, allocations: 10.22 kB / 399.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3098, allocations: 24.36 kB / 399.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.31, allocations: 47.12 kB / 399.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3102, allocations: 97.78 kB / 400 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3103, allocations: 29.25 kB / 400 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.3104, allocations: 46.59 kB / 400.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.3105, allocations: 51.88 kB / 400.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3105, allocations: 6.625 kB / 400.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.3106, allocations: 7.156 kB / 400.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.3106, allocations: 19.47 kB / 400.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.3107, allocations: 41.69 kB / 400.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.3108, allocations: 91.83 kB / 400.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3108, allocations: 0.7031 kB / 400.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3108, allocations: 0 / 400.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3108, allocations: 1.125 kB / 400.3 MB, free: 7.715 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.0005191/0.3114, allocations: 333.9 kB / 400.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.3114, allocations: 13.23 kB / 400.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3114, allocations: 15.28 kB / 400.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3117, allocations: 148.6 kB / 400.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3117, allocations: 6.906 kB / 400.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.3117, allocations: 13.75 kB / 400.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3119, allocations: 76.83 kB / 400.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.312, allocations: 0 / 400.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.312, allocations: 6.406 kB / 400.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.312, allocations: 1.531 kB / 400.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3121, allocations: 45.08 kB / 400.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.3126, allocations: 373.5 kB / 401.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.3127, allocations: 59.8 kB / 401.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.3128, allocations: 33.09 kB / 401.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3128, allocations: 5 kB / 401.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3128, allocations: 32.3 kB / 401.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3128, allocations: 0 / 401.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002801/0.3131, allocations: 105.4 kB / 401.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3132, allocations: 52.02 kB / 401.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3133, allocations: 146.8 kB / 401.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3133, allocations: 27.27 kB / 401.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.3133, allocations: 112.3 kB / 401.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3134, allocations: 20.53 kB / 401.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3134, allocations: 20.69 kB / 401.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.3135, allocations: 321 kB / 402.2 MB, free: 6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.3135, allocations: 20.08 kB / 402.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.3136, allocations: 26.95 kB / 402.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3137, allocations: 47.94 kB / 402.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3137, allocations: 0 / 402.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001413/0.3138, allocations: 90.86 kB / 402.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3138, allocations: 6.234 kB / 402.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3138, allocations: 0 / 402.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3138, allocations: 0 / 402.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3141, allocations: 40.66 kB / 402.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3141, allocations: 4.625 kB / 402.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.3141, allocations: 8.188 kB / 402.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3141, allocations: 2.094 kB / 402.5 MB, free: 5.891 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 6.106e-05/0.3142, allocations: 114.8 kB / 402.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.3142, allocations: 16.77 kB / 402.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.3143, allocations: 11.83 kB / 402.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3143, allocations: 5.016 kB / 402.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3143, allocations: 0 / 402.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3143, allocations: 1.625 kB / 402.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3144, allocations: 168.3 kB / 402.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3144, allocations: 1.281 kB / 402.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.3146, allocations: 29.66 kB / 402.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3146, allocations: 0 / 402.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3146, allocations: 2.359 kB / 402.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3146, allocations: 0 / 402.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3146, allocations: 1.406 kB / 402.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3149, allocations: 209.4 kB / 403 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3149, allocations: 12.5 kB / 403 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3149, allocations: 6.047 kB / 403 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.315, allocations: 5.922 kB / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.315, allocations: 4 kB / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.315, allocations: 2.125 kB / 403 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.3151, allocations: 115.5 kB / 403.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3151, allocations: 0 / 403.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.3153, allocations: 20.58 kB / 403.2 MB, free: 5.285 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 6.639e-05/0.3154, allocations: 94.97 kB / 403.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3156, allocations: 49.5 kB / 403.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3156, allocations: 1.062 kB / 403.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.3156, allocations: 21.28 kB / 403.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3159, allocations: 29.38 kB / 403.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.3166, allocations: 285.8 kB / 403.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.3167, allocations: 0.7006 MB / 404.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.3167, allocations: 13.25 kB / 404.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3167, allocations: 0 / 404.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of Templates: time 0.003433/0.3202, allocations: 1.212 MB / 405.6 MB, free: 4.121 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.293493309058249]