Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001485/0.001485, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001689/0.001689, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.345/1.345, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.94 MB / 361.5 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 87.86 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2717, allocations: 66.07 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001541/0.2733, allocations: 496.9 kB / 0.5624 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.2764, allocations: 2.17 MB / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.2764, allocations: 0 / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.2764, allocations: 4 kB / 0.5645 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.6e-05/0.2765, allocations: 3.938 kB / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.2775, allocations: 398 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.18e-05/0.2775, allocations: 0 / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.2776, allocations: 12 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.207e-05/0.2776, allocations: 0 / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01931/0.2969, allocations: 3.39 MB / 0.5682 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2969, allocations: 0 / 0.5682 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.297, allocations: 8 kB / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.297, allocations: 0 / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.297, allocations: 4 kB / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2971, allocations: 15.97 kB / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2971, allocations: 0 / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2971, allocations: 0 / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.2972, allocations: 0 / 0.5683 GB, free: 14.36 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.0002862/0.2974, allocations: 238.4 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2975, allocations: 15.97 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2977, allocations: 88.22 kB / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2978, allocations: 177.8 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.2979, allocations: 158.9 kB / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-05/0.2979, allocations: 150.9 kB / 0.569 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.298, allocations: 105.3 kB / 0.5691 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.298, allocations: 79.22 kB / 0.5692 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.2981, allocations: 154.6 kB / 0.5694 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.404e-05/0.2982, allocations: 150.6 kB / 0.5695 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.2982, allocations: 154.6 kB / 0.5697 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.2985, allocations: 413 kB / 0.5701 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.2986, allocations: 169.1 kB / 0.5702 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.2987, allocations: 88.08 kB / 0.5703 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.2987, allocations: 75.28 kB / 0.5704 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/0.2988, allocations: 117.8 kB / 0.5705 GB, free: 11.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2988, allocations: 0 / 0.5705 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.2988, allocations: 25.7 kB / 0.5705 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2989, allocations: 182.1 kB / 0.5707 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.299, allocations: 93.86 kB / 0.5708 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2991, allocations: 25.7 kB / 0.5708 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.2991, allocations: 88.08 kB / 0.5709 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.2991, allocations: 0 / 0.5709 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.2991, allocations: 13.72 kB / 0.5709 GB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2993, allocations: 310.8 kB / 0.5712 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.2993, allocations: 8.062 kB / 0.5712 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.2993, allocations: 13.7 kB / 0.5712 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.2993, allocations: 79.28 kB / 0.5713 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-05/0.2994, allocations: 75.28 kB / 0.5714 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.055e-05/0.2994, allocations: 25.7 kB / 0.5714 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.2995, allocations: 87.22 kB / 0.5715 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.2995, allocations: 79.22 kB / 0.5715 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.057e-05/0.2996, allocations: 162.6 kB / 0.5717 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.2996, allocations: 75.28 kB / 0.5718 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.346e-05/0.2997, allocations: 162.5 kB / 0.5719 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.2998, allocations: 79.28 kB / 0.572 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.2998, allocations: 79.22 kB / 0.5721 GB, free: 10.23 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.0001349/0.2999, allocations: 269.7 kB / 0.5723 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.3, allocations: 108.9 kB / 0.5724 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3001, allocations: 107.8 kB / 0.5725 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.585e-05/0.3001, allocations: 188.2 kB / 0.5727 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.3002, allocations: 176.3 kB / 0.5729 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/0.3003, allocations: 184.2 kB / 0.5731 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.3005, allocations: 380.3 kB / 0.5734 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.815e-05/0.3006, allocations: 101 kB / 0.5735 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.3006, allocations: 104.9 kB / 0.5736 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.966e-05/0.3007, allocations: 180.2 kB / 0.5738 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.3008, allocations: 184.2 kB / 0.574 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-05/0.3009, allocations: 176.3 kB / 0.5741 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.437e-05/0.301, allocations: 196.2 kB / 0.5743 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.3011, allocations: 296.2 kB / 0.5746 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.3012, allocations: 116.9 kB / 0.5747 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.3013, allocations: 184.3 kB / 0.5749 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.3014, allocations: 105 kB / 0.575 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.3014, allocations: 184.2 kB / 0.5752 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.3015, allocations: 101 kB / 0.5753 GB, free: 6.762 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.3015, allocations: 75.28 kB / 0.5753 GB, free: 6.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3015, allocations: 0 / 0.5753 GB, free: 6.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00024/0.3018, allocations: 4 kB / 0.5753 GB, free: 6.684 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.0001255/0.3019, allocations: 170.6 kB / 0.5755 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.506e-05/0.302, allocations: 11.92 kB / 0.5755 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.302, allocations: 0 / 0.5755 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.302, allocations: 3.938 kB / 0.5755 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3023, allocations: 455.7 kB / 0.576 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.3025, allocations: 182 kB / 0.5761 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3028, allocations: 0.669 MB / 0.5768 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.3029, allocations: 7.438 kB / 0.5768 GB, free: 5.125 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3029, allocations: 0 / 0.5768 GB, free: 5.125 MB / 414.1 MB Notification: Performance of Templates: time 0.001657/0.3045, allocations: 363.7 kB / 0.5771 GB, free: 4.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.4689685590565205]