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.001073/0.001073, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001322/0.001322, allocations: 173.9 kB / 24.92 MB, free: 8.727 MB / 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 0.948/0.948, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.483e-06/1.483e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.37e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.005721/0.005745, allocations: 1.771 MB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000863/0.006608, allocations: 0.5492 MB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.006679, allocations: 3.938 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.88e-05/0.006778, allocations: 7.875 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.006963, allocations: 31.72 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.007175, allocations: 63.84 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.01033, allocations: 99.64 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.01042, allocations: 29.94 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.01056, allocations: 59.81 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.01062, allocations: 31.84 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.01064, allocations: 8 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.0107, allocations: 19.91 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.01074, allocations: 19.92 kB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.01077, allocations: 27.92 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.0109, allocations: 63.73 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.0109, allocations: 7.938 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0109, allocations: 0 / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.01091, allocations: 0 / 276.2 MB, free: 14.48 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.0003473/0.01125, allocations: 316.4 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.01128, allocations: 8.031 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01139, allocations: 16.92 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.01154, allocations: 150.1 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.01155, allocations: 8.375 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.01157, allocations: 12.33 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.01167, allocations: 74.91 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.01168, allocations: 3.938 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.01169, allocations: 4 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.0117, allocations: 4 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.01173, allocations: 8 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.01203, allocations: 218.8 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.921e-05/0.01211, allocations: 34.56 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.01213, allocations: 16.86 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.01214, allocations: 4 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.01216, allocations: 38.5 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.01216, allocations: 0 / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001305/0.01229, allocations: 53.67 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.01232, allocations: 55.41 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.0124, allocations: 145.6 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01241, allocations: 29.69 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.01246, allocations: 112 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.01248, allocations: 15.89 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.01251, allocations: 21.72 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01264, allocations: 318.8 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.01265, allocations: 8 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.01267, allocations: 11.92 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.01271, allocations: 28.83 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01271, allocations: 3.938 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.841e-05/0.01279, allocations: 49.69 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.0128, allocations: 4 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01281, allocations: 4 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.01282, allocations: 0 / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/0.01605, allocations: 59.88 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01606, allocations: 3.938 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.01609, allocations: 11.89 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.0161, allocations: 4 kB / 278.1 MB, free: 12.5 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 5.959e-05/0.01616, allocations: 112.7 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.01618, allocations: 4 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.0162, allocations: 12.47 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01621, allocations: 3.984 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01621, allocations: 8.188 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01621, allocations: 4 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.01634, allocations: 89.86 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01634, allocations: 4 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.01646, allocations: 27.97 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01646, allocations: 0 / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01647, allocations: 3.984 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01647, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01648, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.01661, allocations: 163.4 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.01663, allocations: 11.98 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.01664, allocations: 0 / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.0167, allocations: 7.984 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.01672, allocations: 7.984 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.01673, allocations: 3.938 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.01676, allocations: 31.83 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01676, allocations: 0 / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.01694, allocations: 19.95 kB / 278.6 MB, free: 11.96 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 8.193e-05/0.01702, allocations: 72.42 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.896e-05/0.01709, allocations: 32.78 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01709, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.01712, allocations: 24.83 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01732, allocations: 25.44 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.0179, allocations: 259.4 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.01794, allocations: 63.34 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.01797, allocations: 20.84 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.01804, allocations: 59.38 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01804, allocations: 0 / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of Templates: time 0.006155/0.0242, allocations: 1.158 MB / 280.3 MB, free: 10.21 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4667460951022804]