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.001394/0.001394, allocations: 92.27 kB / 20.96 MB, free: 3.449 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.001413/0.001413, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 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.596/1.596, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 2.184e-06/2.184e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.964e-05/4.183e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.004139/0.004181, allocations: 1.675 MB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.005589, allocations: 0.5297 MB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.005707, allocations: 7.938 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.005819, allocations: 7.875 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.00604, allocations: 23.78 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.006351, allocations: 63.78 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.008203, allocations: 107.6 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.008322, allocations: 17.3 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.008557, allocations: 63.81 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.008673, allocations: 39.89 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.008698, allocations: 4 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.836e-05/0.008756, allocations: 12 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.008819, allocations: 19.92 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.008883, allocations: 23.91 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.009122, allocations: 95.56 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.009125, allocations: 0 / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009126, allocations: 0 / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.00913, allocations: 0 / 274.9 MB, free: 15.12 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.0006748/0.009805, allocations: 341.9 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.009866, allocations: 11.98 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.01008, allocations: 28.83 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.01045, allocations: 158 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.01046, allocations: 4.375 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.0105, allocations: 8.375 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.01072, allocations: 78.22 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01073, allocations: 7.938 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.01075, allocations: 0 / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01075, allocations: 4 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.01088, allocations: 39.97 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.01148, allocations: 284.2 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.01165, allocations: 62.56 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.01173, allocations: 32.83 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.01175, allocations: 3.938 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.01179, allocations: 42.56 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.01179, allocations: 0 / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003613/0.01215, allocations: 93.62 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.0122, allocations: 55.41 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.01241, allocations: 149.7 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01243, allocations: 29.64 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.01253, allocations: 116.2 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.01256, allocations: 11.86 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.01262, allocations: 21.7 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.01283, allocations: 326.8 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.01289, allocations: 19.98 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.01295, allocations: 19.98 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01308, allocations: 48.83 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01308, allocations: 4 kB / 276.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001962/0.01327, allocations: 85.62 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01329, allocations: 8 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.0133, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.01331, allocations: 0 / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.01354, allocations: 47.84 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01355, allocations: 0 / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.01361, allocations: 7.953 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.01361, allocations: 0 / 277 MB, free: 12.84 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.0001375/0.01375, allocations: 117.8 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.01379, allocations: 15.94 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.01382, allocations: 8.469 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01382, allocations: 4 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.01383, allocations: 3.938 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01383, allocations: 4 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01406, allocations: 133.2 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01406, allocations: 0 / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.01421, allocations: 23.97 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.01422, allocations: 4 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.01423, allocations: 4 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01423, allocations: 0 / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.01424, allocations: 3.938 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.0146, allocations: 203.6 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01462, allocations: 12.11 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.01467, allocations: 8 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.01475, allocations: 4 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.01481, allocations: 7.922 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.01482, allocations: 4 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01493, allocations: 107.2 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01493, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.01518, allocations: 19.95 kB / 277.6 MB, free: 12.11 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.0001948/0.01537, allocations: 91.25 kB / 277.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.01557, allocations: 56.14 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.01559, allocations: 0 / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.01566, allocations: 19.98 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.01603, allocations: 23.98 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.01785, allocations: 256.8 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.01798, allocations: 97.3 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.01804, allocations: 4 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.01815, allocations: 12.5 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01815, allocations: 0 / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Templates: time 0.005279/0.02343, allocations: 0.9664 MB / 279.2 MB, free: 10.55 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.631362029933371]