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.001284/0.001284, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001652/0.001652, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.591/1.591, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.002049/0.002049, allocations: 71.89 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 53.4 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003853/0.4156, allocations: 1.681 MB / 434.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.4169, allocations: 0.5104 MB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.417, allocations: 7.938 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.4171, allocations: 11.86 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.4174, allocations: 19.8 kB / 434.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.4176, allocations: 63.86 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.4179, allocations: 99.69 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.418, allocations: 25.09 kB / 434.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.4182, allocations: 43.84 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.4183, allocations: 55.64 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.4183, allocations: 8 kB / 434.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.779e-05/0.4184, allocations: 8 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.4185, allocations: 19.92 kB / 434.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.4185, allocations: 31.8 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.4187, allocations: 86.45 kB / 435 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4188, allocations: 0 / 435 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4188, allocations: 4 kB / 435 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4188, allocations: 3.938 kB / 435 MB, free: 3.879 MB / 334.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.0007519/0.4195, allocations: 345.8 kB / 435.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.4196, allocations: 11.98 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.4198, allocations: 24.83 kB / 435.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.4201, allocations: 146.3 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4201, allocations: 8.375 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.4202, allocations: 12.12 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4204, allocations: 81.53 kB / 435.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4204, allocations: 0 / 435.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.4204, allocations: 8 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4204, allocations: 4 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4205, allocations: 43.2 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.4211, allocations: 284.3 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.4213, allocations: 66.52 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.4213, allocations: 28.89 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.4214, allocations: 0 / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4214, allocations: 38.5 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.4214, allocations: 4 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003267/0.4217, allocations: 93.62 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.4218, allocations: 55.34 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4219, allocations: 150.4 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.422, allocations: 25.7 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.4221, allocations: 108.2 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.4221, allocations: 23.8 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.4221, allocations: 21.7 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4223, allocations: 322.8 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.4223, allocations: 24 kB / 436.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.4224, allocations: 19.98 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.4225, allocations: 52.78 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4225, allocations: 0 / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001675/0.4227, allocations: 85.62 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4227, allocations: 11.88 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4227, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4227, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.423, allocations: 39.97 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.423, allocations: 4 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.423, allocations: 7.953 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.423, allocations: 4 kB / 437.2 MB, free: 1.594 MB / 334.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.0001196/0.4231, allocations: 121.8 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.4232, allocations: 11.89 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.4232, allocations: 8.406 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4232, allocations: 4 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4232, allocations: 0 / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4232, allocations: 0 / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.4234, allocations: 141.3 kB / 437.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4234, allocations: 0 / 437.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.4236, allocations: 23.98 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.4236, allocations: 4 kB / 437.5 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4236, allocations: 3.938 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4236, allocations: 0 / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4236, allocations: 0 / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.4239, allocations: 199.4 kB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.4239, allocations: 16.25 kB / 437.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.4239, allocations: 4 kB / 437.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.424, allocations: 15.98 kB / 437.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.4241, allocations: 3.938 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4241, allocations: 0 / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4242, allocations: 118.8 kB / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4242, allocations: 0 / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.4244, allocations: 15.94 kB / 437.8 MB, free: 0.8633 MB / 334.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.0001223/0.4245, allocations: 91.25 kB / 437.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4247, allocations: 47.97 kB / 438 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4247, allocations: 4 kB / 438 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.4248, allocations: 23.92 kB / 438 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4251, allocations: 23.98 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.4258, allocations: 278.6 kB / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4259, allocations: 97.7 kB / 438.4 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.426, allocations: 15.38 kB / 438.4 MB, free: 236 kB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.426, allocations: 0 / 438.4 MB, free: 236 kB / 334.1 MB Notification: Performance of Templates: time 0.003917/0.4299, allocations: 1.262 MB / 439.7 MB, free: 14.97 MB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/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: 7.416070061270148]