Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.006652/0.006652, allocations: 103.1 kB / 21.97 MB, free: 5.211 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.001399/0.001399, allocations: 220.3 kB / 25.29 MB, free: 3.215 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.437/1.437, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2415/0.2415, allocations: 46.92 MB / 362.3 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 79.86 kB / 0.4982 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3933, allocations: 66.06 MB / 0.5627 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001847/0.3952, allocations: 488.9 kB / 0.5632 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.3988, allocations: 2.17 MB / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.3988, allocations: 0 / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.3989, allocations: 0 / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.844e-05/0.3989, allocations: 3.938 kB / 0.5653 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.4002, allocations: 406.1 kB / 0.5657 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.4003, allocations: 8 kB / 0.5657 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.4003, allocations: 11.97 kB / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.4003, allocations: 0 / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02003/0.4203, allocations: 3.383 MB / 0.569 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.4204, allocations: 4 kB / 0.569 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4205, allocations: 11.98 kB / 0.569 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.4205, allocations: 3.984 kB / 0.569 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.4205, allocations: 0 / 0.569 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.4207, allocations: 4 kB / 0.569 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4207, allocations: 0 / 0.569 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4207, allocations: 0 / 0.569 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4207, allocations: 0 / 0.569 GB, free: 14.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003622/0.421, allocations: 250.3 kB / 0.5693 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4211, allocations: 15.97 kB / 0.5693 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.4213, allocations: 88.2 kB / 0.5694 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.4215, allocations: 177.8 kB / 0.5695 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.4216, allocations: 150.9 kB / 0.5697 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.4217, allocations: 150.9 kB / 0.5698 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.4218, allocations: 117.2 kB / 0.5699 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/0.4219, allocations: 75.28 kB / 0.57 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/0.422, allocations: 154.6 kB / 0.5701 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.4221, allocations: 150.6 kB / 0.5703 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.4221, allocations: 150.6 kB / 0.5704 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.4225, allocations: 425 kB / 0.5708 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.4226, allocations: 173.1 kB / 0.571 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.4227, allocations: 80.14 kB / 0.5711 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.4227, allocations: 75.28 kB / 0.5712 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.4228, allocations: 109.8 kB / 0.5713 GB, free: 11.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4228, allocations: 4 kB / 0.5713 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.735e-05/0.4229, allocations: 29.7 kB / 0.5713 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.423, allocations: 182.1 kB / 0.5715 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4231, allocations: 89.86 kB / 0.5716 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4231, allocations: 25.7 kB / 0.5716 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.4232, allocations: 80.14 kB / 0.5717 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4232, allocations: 4 kB / 0.5717 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.4232, allocations: 17.83 kB / 0.5717 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4234, allocations: 314.8 kB / 0.572 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-06/0.4234, allocations: 0 / 0.572 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.4234, allocations: 17.72 kB / 0.572 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.4234, allocations: 75.28 kB / 0.5721 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.683e-05/0.4235, allocations: 75.28 kB / 0.5721 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.249e-05/0.4235, allocations: 29.7 kB / 0.5722 GB, free: 10.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.4236, allocations: 87.25 kB / 0.5722 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.4236, allocations: 79.22 kB / 0.5723 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.83e-05/0.4237, allocations: 162.6 kB / 0.5725 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.4237, allocations: 75.28 kB / 0.5725 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.298e-05/0.4238, allocations: 154.5 kB / 0.5727 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.4239, allocations: 79.28 kB / 0.5728 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.424, allocations: 83.22 kB / 0.5728 GB, free: 10.27 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0001508/0.4241, allocations: 264.3 kB / 0.5731 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.4242, allocations: 108.9 kB / 0.5732 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.4242, allocations: 111.8 kB / 0.5733 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.99e-05/0.4243, allocations: 180.2 kB / 0.5735 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.894e-05/0.4244, allocations: 180.3 kB / 0.5737 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.011e-05/0.4245, allocations: 192.1 kB / 0.5738 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.4247, allocations: 368.3 kB / 0.5742 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-05/0.4248, allocations: 105 kB / 0.5743 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.4248, allocations: 108.9 kB / 0.5744 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.425, allocations: 184.2 kB / 0.5746 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4251, allocations: 188.2 kB / 0.5747 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001152/0.4252, allocations: 176.3 kB / 0.5749 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.166e-05/0.4253, allocations: 188.2 kB / 0.5751 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.4254, allocations: 300.2 kB / 0.5754 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.4255, allocations: 116.8 kB / 0.5755 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.4256, allocations: 184.3 kB / 0.5757 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4257, allocations: 104.9 kB / 0.5758 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.4258, allocations: 180.3 kB / 0.5759 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.4259, allocations: 105 kB / 0.576 GB, free: 6.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.375e-05/0.4259, allocations: 83.27 kB / 0.5761 GB, free: 6.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4259, allocations: 96 / 0.5761 GB, free: 6.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.4262, allocations: 4 kB / 0.5761 GB, free: 6.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001447/0.4263, allocations: 170.5 kB / 0.5763 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.579e-05/0.4264, allocations: 0 / 0.5763 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4264, allocations: 4 kB / 0.5763 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.4264, allocations: 0 / 0.5763 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4269, allocations: 459.7 kB / 0.5767 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.4271, allocations: 178 kB / 0.5769 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4274, allocations: 0.6729 MB / 0.5776 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.4275, allocations: 7.438 kB / 0.5776 GB, free: 5.164 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4275, allocations: 0 / 0.5776 GB, free: 5.164 MB / 414.1 MB Notification: Performance of Templates: time 0.002026/0.4295, allocations: 367.7 kB / 0.5779 GB, free: 4.805 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.322162518976256]