Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002546/0.002546, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002952/0.002952, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.424e-05, allocations: 10.25 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003359/0.003393, allocations: 1.692 MB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004569, allocations: 0.5337 MB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.004654, allocations: 3.938 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.00477, allocations: 7.875 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.004994, allocations: 23.84 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.005258, allocations: 63.78 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.005466, allocations: 107.6 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005575, allocations: 25.3 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.00575, allocations: 63.75 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.005843, allocations: 31.89 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.005869, allocations: 8 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.00593, allocations: 15.98 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.005987, allocations: 15.92 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.006042, allocations: 31.91 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.006226, allocations: 83.64 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00623, allocations: 4 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006231, allocations: 0 / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.006235, allocations: 4 kB / 275 MB, free: 15.11 MB / 266.7 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.0006557/0.006891, allocations: 439.8 kB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.006926, allocations: 12.03 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.007081, allocations: 28.83 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.007326, allocations: 152.9 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.007339, allocations: 4.375 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.00737, allocations: 12.31 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.007547, allocations: 77.47 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007558, allocations: 3.938 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.00757, allocations: 4 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.007574, allocations: 0 / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.007691, allocations: 35.97 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.008307, allocations: 355.5 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.008479, allocations: 67.11 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.008548, allocations: 23.69 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.00857, allocations: 8 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.008607, allocations: 41.27 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.008608, allocations: 0 / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003243/0.008933, allocations: 93.62 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.00898, allocations: 51.41 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.00919, allocations: 220.8 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.009212, allocations: 25.7 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.009332, allocations: 162.9 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.009367, allocations: 23.84 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.00942, allocations: 23.38 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.009713, allocations: 0.4962 MB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.009778, allocations: 20 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-05/0.009833, allocations: 23.92 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.009951, allocations: 43.67 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.009952, allocations: 0 / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.01013, allocations: 89.62 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.01015, allocations: 8 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01015, allocations: 256 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01016, allocations: 0 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.0104, allocations: 47.91 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.0104, allocations: 3.938 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.01046, allocations: 7.953 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01047, allocations: 0 / 277.6 MB, free: 12.35 MB / 266.7 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 0.0001323/0.0106, allocations: 164.6 kB / 277.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01064, allocations: 11.95 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.01068, allocations: 16.45 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01068, allocations: 0 / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.01068, allocations: 3.938 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01069, allocations: 0 / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.0109, allocations: 160.5 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0109, allocations: 0 / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.01105, allocations: 23.97 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01105, allocations: 0 / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01106, allocations: 0 / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01107, allocations: 0 / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01107, allocations: 0 / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.01141, allocations: 255.8 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.01143, allocations: 15.84 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01146, allocations: 7.984 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.01154, allocations: 4.031 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.01157, allocations: 3.938 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01158, allocations: 4 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01171, allocations: 159.2 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01171, allocations: 0 / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01193, allocations: 12 kB / 278.4 MB, free: 11.46 MB / 266.7 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.0001106/0.01204, allocations: 91.25 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.01222, allocations: 59.59 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01222, allocations: 0 / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.01229, allocations: 31.67 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.01262, allocations: 24.17 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.01326, allocations: 258.3 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.01336, allocations: 89.3 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.01341, allocations: 8 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.01346, allocations: 12.5 kB / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01346, allocations: 0 / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of Templates: time 0.004136/0.0176, allocations: 0.9679 MB / 279.9 MB, free: 9.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.583379676099867]