Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 206.1 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 46.97 MB / 361.6 MB, free: 4.059 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.39, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006023/0.396, allocations: 3.226 MB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3982, allocations: 0.8101 MB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.3985, allocations: 8 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.3988, allocations: 71.23 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.3992, allocations: 130.9 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.3996, allocations: 131.8 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.4003, allocations: 0.5218 MB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.4006, allocations: 181 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.4009, allocations: 215.3 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.4013, allocations: 235 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.4013, allocations: 56 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.4014, allocations: 48 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.4015, allocations: 111.6 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.4018, allocations: 207.1 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.4025, allocations: 0.5599 MB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4025, allocations: 0 / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4025, allocations: 0 / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.4025, allocations: 4 kB / 0.5681 GB, free: 13.69 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001495/0.404, allocations: 0.6962 MB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.404, allocations: 8.031 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.4042, allocations: 52.61 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.4047, allocations: 267.7 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.4047, allocations: 33.38 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4048, allocations: 48.38 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.4058, allocations: 0.5028 MB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4058, allocations: 3.938 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.4059, allocations: 16 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4059, allocations: 12 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.4066, allocations: 332.1 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.4092, allocations: 1.448 MB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.4098, allocations: 225 kB / 0.5717 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.4101, allocations: 133.6 kB / 0.5718 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.4101, allocations: 8 kB / 0.5718 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.4102, allocations: 38.56 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.4102, allocations: 0 / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003077/0.4133, allocations: 1.13 MB / 0.573 GB, free: 8.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.4133, allocations: 81.11 kB / 0.573 GB, free: 8.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.4136, allocations: 261.8 kB / 0.5733 GB, free: 8.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.4137, allocations: 29.7 kB / 0.5733 GB, free: 8.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4139, allocations: 264.1 kB / 0.5736 GB, free: 7.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.414, allocations: 126.9 kB / 0.5737 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4141, allocations: 82.12 kB / 0.5738 GB, free: 7.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4143, allocations: 338.8 kB / 0.5741 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.4146, allocations: 104.8 kB / 0.5742 GB, free: 7.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.4149, allocations: 216.3 kB / 0.5744 GB, free: 6.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.4156, allocations: 340.1 kB / 0.5747 GB, free: 6.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4156, allocations: 7.984 kB / 0.5747 GB, free: 6.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008877/0.4165, allocations: 413.6 kB / 0.5751 GB, free: 6.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4165, allocations: 12.36 kB / 0.5751 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4165, allocations: 4 kB / 0.5751 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.4167, allocations: 28.84 kB / 0.5752 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.4173, allocations: 123.8 kB / 0.5753 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.4186, allocations: 1.315 MB / 0.5766 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.4189, allocations: 24.05 kB / 0.5766 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.4189, allocations: 20 kB / 0.5766 GB, free: 4.488 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.4191, allocations: 157.8 kB / 0.5768 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.4192, allocations: 31.75 kB / 0.5768 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.738e-05/0.4193, allocations: 38.11 kB / 0.5768 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4193, allocations: 4 kB / 0.5768 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4193, allocations: 0 / 0.5768 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4193, allocations: 7.922 kB / 0.5768 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.4204, allocations: 0.589 MB / 0.5774 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4204, allocations: 0 / 0.5774 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.4209, allocations: 95.88 kB / 0.5775 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-05/0.4209, allocations: 24.84 kB / 0.5775 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.421, allocations: 8 kB / 0.5775 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.4222, allocations: 1.308 MB / 0.5788 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4222, allocations: 0 / 0.5788 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4233, allocations: 0.6029 MB / 0.5794 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4234, allocations: 51.89 kB / 0.5794 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.4234, allocations: 8 kB / 0.5795 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.4237, allocations: 23.98 kB / 0.5795 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.4238, allocations: 27.89 kB / 0.5795 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.4238, allocations: 12 kB / 0.5795 GB, free: 1.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.424, allocations: 181.2 kB / 0.5797 GB, free: 1.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.424, allocations: 0 / 0.5797 GB, free: 1.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005035/0.4245, allocations: 95.94 kB / 0.5798 GB, free: 1.055 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.4247, allocations: 103.2 kB / 0.5799 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008757/0.4255, allocations: 398.2 kB / 0.5803 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4255, allocations: 0.75 kB / 0.5803 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.426, allocations: 250.3 kB / 0.5805 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.4264, allocations: 36.48 kB / 0.5805 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.4282, allocations: 0.9421 MB / 0.5815 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4285, allocations: 211.8 kB / 0.5817 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4286, allocations: 27.44 kB / 0.5817 GB, free: 15.01 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4286, allocations: 0 / 0.5817 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Templates: time 0.009385/0.438, allocations: 6.129 MB / 0.5877 GB, free: 8.883 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 8.196370127989212]