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.001746/0.001746, allocations: 115.8 kB / 19.18 MB, free: 3.883 MB / 14.72 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.001838/0.001838, allocations: 208.9 kB / 22.13 MB, free: 0.9297 MB / 14.72 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.528/1.528, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 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 0.001833/0.001833, allocations: 67.89 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1107, allocations: 53.31 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003195/0.1139, allocations: 1.707 MB / 429.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.115, allocations: 0.5455 MB / 430.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.1151, allocations: 7.938 kB / 430.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1152, allocations: 11.86 kB / 430.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1154, allocations: 27.78 kB / 430.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1156, allocations: 63.86 kB / 430.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1158, allocations: 99.69 kB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1159, allocations: 25.11 kB / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.116, allocations: 43.78 kB / 430.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1161, allocations: 47.72 kB / 430.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1162, allocations: 8 kB / 430.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.253e-05/0.1162, allocations: 11.98 kB / 430.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1163, allocations: 19.92 kB / 430.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.1163, allocations: 43.73 kB / 430.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1165, allocations: 91.52 kB / 430.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1165, allocations: 7.922 kB / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1165, allocations: 0 / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1165, allocations: 3.938 kB / 430.6 MB, free: 1.738 MB / 350.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.0006329/0.1172, allocations: 415 kB / 431 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1172, allocations: 8.031 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1173, allocations: 24.84 kB / 431 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1177, allocations: 216.6 kB / 431.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1177, allocations: 8.375 kB / 431.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.1177, allocations: 8.125 kB / 431.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1179, allocations: 77.66 kB / 431.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1179, allocations: 0 / 431.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1179, allocations: 4 kB / 431.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1179, allocations: 4 kB / 431.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.118, allocations: 35.97 kB / 431.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.1187, allocations: 411.9 kB / 431.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1188, allocations: 58.59 kB / 431.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/0.1189, allocations: 40.81 kB / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1189, allocations: 0 / 431.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.119, allocations: 38.56 kB / 431.9 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.119, allocations: 0 / 431.9 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003004/0.1193, allocations: 101.5 kB / 432 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1193, allocations: 51.41 kB / 432.1 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1195, allocations: 142.4 kB / 432.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1195, allocations: 25.7 kB / 432.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.1196, allocations: 108.1 kB / 432.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1196, allocations: 27.94 kB / 432.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1196, allocations: 17.72 kB / 432.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1198, allocations: 322.8 kB / 432.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.1198, allocations: 23.92 kB / 432.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.1199, allocations: 19.98 kB / 432.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.12, allocations: 48.84 kB / 432.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.12, allocations: 3.938 kB / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.1202, allocations: 93.72 kB / 432.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1202, allocations: 4 kB / 432.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1202, allocations: 3.984 kB / 432.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1202, allocations: 0 / 432.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.1205, allocations: 43.91 kB / 432.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1205, allocations: 4 kB / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.1205, allocations: 3.953 kB / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1205, allocations: 4 kB / 432.9 MB, free: 15.14 MB / 366.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 0.0001035/0.1206, allocations: 117.8 kB / 433 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1207, allocations: 11.89 kB / 433.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.1207, allocations: 12.3 kB / 433.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1207, allocations: 4 kB / 433.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1207, allocations: 3.938 kB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.1207, allocations: 0 / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1209, allocations: 197.6 kB / 433.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1209, allocations: 0 / 433.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1211, allocations: 28.17 kB / 433.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1211, allocations: 0 / 433.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1211, allocations: 11.98 kB / 433.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1211, allocations: 4 kB / 433.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1211, allocations: 0 / 433.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1214, allocations: 199.5 kB / 433.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.1215, allocations: 92.92 kB / 433.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1215, allocations: 0 / 433.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1216, allocations: 4 kB / 433.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1217, allocations: 4.062 kB / 433.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1217, allocations: 7.984 kB / 433.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.1218, allocations: 110.5 kB / 433.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1218, allocations: 0 / 433.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.122, allocations: 15.95 kB / 433.7 MB, free: 14.24 MB / 366.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 0.0001234/0.1221, allocations: 95.23 kB / 433.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1223, allocations: 47.92 kB / 433.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1223, allocations: 4 kB / 433.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.1224, allocations: 23.98 kB / 433.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1227, allocations: 28.86 kB / 433.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.1234, allocations: 286.2 kB / 434.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1238, allocations: 0.7041 MB / 434.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1238, allocations: 11.44 kB / 434.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1238, allocations: 0 / 434.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Templates: time 0.003114/0.1269, allocations: 1.228 MB / 436.2 MB, free: 11.76 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.222459309035912]