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.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.002198/0.002198, allocations: 107.1 kB / 19.76 MB, free: 2.551 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.002773/0.002773, allocations: 190.3 kB / 22.93 MB, free: 5.586 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.47/1.47, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 55.92 kB / 345.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2885, allocations: 49.12 MB / 394.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002748/0.2912, allocations: 1.702 MB / 396.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000912/0.2921, allocations: 0.5359 MB / 396.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.2922, allocations: 2.094 kB / 396.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2923, allocations: 10.22 kB / 396.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.2925, allocations: 31.55 kB / 396.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.2927, allocations: 43.81 kB / 396.8 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.2928, allocations: 101.7 kB / 396.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.293, allocations: 21.41 kB / 396.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.293, allocations: 43.66 kB / 397 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.2931, allocations: 49.27 kB / 397 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2932, allocations: 6.031 kB / 397 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.2932, allocations: 6.562 kB / 397 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.2932, allocations: 21.03 kB / 397.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2933, allocations: 43.78 kB / 397.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2935, allocations: 87.95 kB / 397.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2935, allocations: 0 / 397.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2935, allocations: 0 / 397.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2935, allocations: 1.125 kB / 397.2 MB, free: 7.645 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.0005282/0.294, allocations: 415.8 kB / 397.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.294, allocations: 9.594 kB / 397.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2941, allocations: 15.5 kB / 397.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.2944, allocations: 208 kB / 397.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2944, allocations: 3.844 kB / 397.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.2944, allocations: 12.78 kB / 397.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.2946, allocations: 81.23 kB / 397.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2946, allocations: 0 / 397.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2947, allocations: 5.125 kB / 397.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2947, allocations: 1.125 kB / 397.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.2948, allocations: 42.08 kB / 398 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.2953, allocations: 409.9 kB / 398.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2955, allocations: 64.28 kB / 398.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.2955, allocations: 24.75 kB / 398.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2956, allocations: 5.094 kB / 398.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2956, allocations: 43.53 kB / 398.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.2956, allocations: 0 / 398.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000308/0.2959, allocations: 97.41 kB / 398.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.2959, allocations: 52.59 kB / 398.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.296, allocations: 142.3 kB / 398.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.296, allocations: 32.14 kB / 398.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.2961, allocations: 108.7 kB / 398.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2961, allocations: 23.16 kB / 399 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2962, allocations: 21.23 kB / 399 MB, free: 6.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.2962, allocations: 320.1 kB / 399.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.2963, allocations: 17.25 kB / 399.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.2963, allocations: 22.11 kB / 399.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.2964, allocations: 57.14 kB / 399.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2965, allocations: 0 / 399.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000217/0.2967, allocations: 93.56 kB / 399.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2967, allocations: 6.125 kB / 399.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2967, allocations: 0 / 399.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2967, allocations: 1.094 kB / 399.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.297, allocations: 36.83 kB / 399.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.297, allocations: 1.188 kB / 399.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.297, allocations: 7.719 kB / 399.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2971, allocations: 1.062 kB / 399.5 MB, free: 5.625 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 7.58e-05/0.2971, allocations: 126.6 kB / 399.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2972, allocations: 16.59 kB / 399.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2972, allocations: 16.27 kB / 399.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2972, allocations: 2.5 kB / 399.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2972, allocations: 0 / 399.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2972, allocations: 0 / 399.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2974, allocations: 192.5 kB / 399.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2974, allocations: 1.859 kB / 399.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2975, allocations: 24.72 kB / 399.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2975, allocations: 5.344 kB / 399.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2975, allocations: 1.219 kB / 399.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2975, allocations: 1.281 kB / 399.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2975, allocations: 0 / 399.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.2978, allocations: 207.1 kB / 400.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.2978, allocations: 92.47 kB / 400.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2978, allocations: 0.7031 kB / 400.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.2979, allocations: 7.359 kB / 400.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2979, allocations: 3.344 kB / 400.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.2979, allocations: 6.188 kB / 400.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.656e-05/0.298, allocations: 111.5 kB / 400.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.298, allocations: 0 / 400.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.2982, allocations: 17.05 kB / 400.3 MB, free: 4.895 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 7.76e-05/0.2983, allocations: 92 kB / 400.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.2985, allocations: 50.28 kB / 400.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2985, allocations: 4 kB / 400.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.2985, allocations: 29 kB / 400.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2988, allocations: 29.8 kB / 400.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.2994, allocations: 260.5 kB / 400.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2995, allocations: 0.7048 MB / 401.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.2996, allocations: 10.58 kB / 401.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.2996, allocations: 18.45 kB / 401.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2996, allocations: 0 / 401.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of Templates: time 0.003803/0.3034, allocations: 0.9339 MB / 402.5 MB, free: 3.746 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/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: 4.527486797422171]