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.001071/0.001071, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001665/0.001665, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] 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 1.904e-06/1.904e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.407e-05, allocations: 5.266 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002882/0.002906, allocations: 1.757 MB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003966, allocations: 0.553 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.004065, allocations: 0 / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.004194, allocations: 7.875 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.004432, allocations: 31.78 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.004729, allocations: 67.78 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.004933, allocations: 99.64 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005055, allocations: 25.94 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.005276, allocations: 63.81 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.005364, allocations: 31.89 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.005385, allocations: 4 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.005457, allocations: 19.92 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.005519, allocations: 19.92 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.005557, allocations: 27.91 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.005693, allocations: 63.69 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.005697, allocations: 8 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005698, allocations: 0 / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.005701, allocations: 0 / 276.2 MB, free: 14.23 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.0004443/0.006146, allocations: 312.4 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.006186, allocations: 11.98 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.00633, allocations: 24.91 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.006535, allocations: 138.1 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.006549, allocations: 12.38 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.006578, allocations: 12.33 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.006708, allocations: 70.92 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.006721, allocations: 7.938 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.006734, allocations: 4 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.006741, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.00678, allocations: 15.94 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.00718, allocations: 226.8 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.007274, allocations: 34.56 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.007302, allocations: 20.84 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.007316, allocations: 0 / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.007342, allocations: 34.55 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.007343, allocations: 3.938 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001608/0.007503, allocations: 61.62 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.007537, allocations: 51.41 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007639, allocations: 139.8 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.007655, allocations: 29.7 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.00771, allocations: 112 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.007741, allocations: 19.89 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.007781, allocations: 21.7 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.007892, allocations: 318.8 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.007912, allocations: 7.984 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.007928, allocations: 4 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.007984, allocations: 28.83 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007986, allocations: 0 / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.293e-05/0.008079, allocations: 53.62 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.008093, allocations: 8 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008099, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.008116, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.008405, allocations: 63.81 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.008409, allocations: 0 / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.008447, allocations: 15.88 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.008455, allocations: 0 / 278 MB, free: 12.25 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.0001351/0.00859, allocations: 116.7 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.00861, allocations: 4 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.008634, allocations: 12.45 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.008636, allocations: 4 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.008641, allocations: 7.938 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.008645, allocations: 0 / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.008793, allocations: 89.86 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008795, allocations: 0 / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.008943, allocations: 36.12 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.008946, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.008957, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008959, allocations: 256 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00896, allocations: 4 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.009138, allocations: 163.5 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.009155, allocations: 11.98 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.009174, allocations: 3.938 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.009247, allocations: 8 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.009279, allocations: 3.984 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.009287, allocations: 3.938 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.009327, allocations: 32.2 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009327, allocations: 0 / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.009547, allocations: 19.95 kB / 278.5 MB, free: 11.7 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.567e-05/0.009632, allocations: 80.34 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.009726, allocations: 24.86 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.009729, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.009765, allocations: 28.77 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01002, allocations: 34.09 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.01073, allocations: 251.5 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01078, allocations: 63.34 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.01083, allocations: 16.7 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.01092, allocations: 63.36 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01092, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003317/0.01424, allocations: 1.148 MB / 280.2 MB, free: 9.953 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] 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","",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.6473161121830344]