Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001346/0.001346, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001439/0.001439, allocations: 209.6 kB / 25.13 MB, free: 3.605 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.459/1.459, allocations: 230.4 MB / 258.7 MB, free: 8.031 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.2383/0.2383, allocations: 46.94 MB / 362 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 179] 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.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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [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.002352/0.002352, allocations: 79.86 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3537, allocations: 66.09 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005288/0.359, allocations: 3.537 MB / 0.5658 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3606, allocations: 0.8219 MB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3608, allocations: 11.94 kB / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.361, allocations: 79.22 kB / 0.5667 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.3612, allocations: 126.8 kB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3616, allocations: 131.8 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.3622, allocations: 0.5295 MB / 0.5674 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.3625, allocations: 186 kB / 0.5676 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3628, allocations: 207.4 kB / 0.5678 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.3631, allocations: 238.9 kB / 0.568 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.3631, allocations: 55.94 kB / 0.5681 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.3632, allocations: 48 kB / 0.5681 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3633, allocations: 107.6 kB / 0.5682 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.3636, allocations: 250.9 kB / 0.5685 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.3642, allocations: 0.5591 MB / 0.569 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3642, allocations: 4 kB / 0.569 GB, free: 13.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.3643, allocations: 7.938 kB / 0.569 GB, free: 13.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3643, allocations: 0 / 0.569 GB, free: 13.37 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.001341/0.3656, allocations: 0.6922 MB / 0.5697 GB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3656, allocations: 12.03 kB / 0.5697 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3657, allocations: 52.61 kB / 0.5698 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.3663, allocations: 259.7 kB / 0.57 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.3663, allocations: 37.38 kB / 0.57 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.3664, allocations: 48.38 kB / 0.5701 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008704/0.3672, allocations: 0.5067 MB / 0.5706 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3673, allocations: 0 / 0.5706 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3673, allocations: 20 kB / 0.5706 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3673, allocations: 12 kB / 0.5706 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.368, allocations: 320.1 kB / 0.5709 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.3706, allocations: 1.608 MB / 0.5725 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.3712, allocations: 229 kB / 0.5727 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.3715, allocations: 133.8 kB / 0.5728 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.3716, allocations: 11.94 kB / 0.5729 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3716, allocations: 30.56 kB / 0.5729 GB, free: 9.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.3716, allocations: 4 kB / 0.5729 GB, free: 9.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002972/0.3746, allocations: 1.127 MB / 0.574 GB, free: 8.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3746, allocations: 89.09 kB / 0.5741 GB, free: 7.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.3749, allocations: 257.9 kB / 0.5743 GB, free: 7.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.375, allocations: 29.7 kB / 0.5743 GB, free: 7.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3752, allocations: 268.1 kB / 0.5746 GB, free: 7.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3753, allocations: 126.9 kB / 0.5747 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3754, allocations: 86.08 kB / 0.5748 GB, free: 7.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3756, allocations: 338.8 kB / 0.5751 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.3759, allocations: 108.8 kB / 0.5752 GB, free: 6.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.3763, allocations: 216.2 kB / 0.5754 GB, free: 6.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.3769, allocations: 338.1 kB / 0.5758 GB, free: 6.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3769, allocations: 4 kB / 0.5758 GB, free: 6.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009236/0.3779, allocations: 418 kB / 0.5762 GB, free: 5.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3779, allocations: 6.031 kB / 0.5762 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3779, allocations: 4 kB / 0.5762 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.378, allocations: 32.84 kB / 0.5762 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.3785, allocations: 128 kB / 0.5763 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3798, allocations: 1.33 MB / 0.5776 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.38, allocations: 23.97 kB / 0.5776 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3801, allocations: 16 kB / 0.5777 GB, free: 3.969 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.0002159/0.3803, allocations: 169.6 kB / 0.5778 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.3804, allocations: 27.81 kB / 0.5779 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.3804, allocations: 42.25 kB / 0.5779 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3804, allocations: 7.984 kB / 0.5779 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3804, allocations: 4.062 kB / 0.5779 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3804, allocations: 4 kB / 0.5779 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3817, allocations: 0.6755 MB / 0.5786 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3817, allocations: 0 / 0.5786 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.3821, allocations: 99.94 kB / 0.5787 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.3822, allocations: 24.84 kB / 0.5787 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3822, allocations: 11.94 kB / 0.5787 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3833, allocations: 1.319 MB / 0.58 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3833, allocations: 3.984 kB / 0.58 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3844, allocations: 0.6056 MB / 0.5806 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3845, allocations: 47.83 kB / 0.5806 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.3845, allocations: 8 kB / 0.5806 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.3848, allocations: 19.98 kB / 0.5807 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.3849, allocations: 31.89 kB / 0.5807 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3849, allocations: 4.234 kB / 0.5807 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3851, allocations: 189.2 kB / 0.5809 GB, free: 488 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3851, allocations: 0 / 0.5809 GB, free: 488 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.3856, allocations: 95.94 kB / 0.581 GB, free: 392 kB / 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.0001477/0.3857, allocations: 114.1 kB / 0.5811 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009471/0.3867, allocations: 394.3 kB / 0.5814 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3867, allocations: 0.75 kB / 0.5814 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.3871, allocations: 246.4 kB / 0.5817 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.3876, allocations: 47.72 kB / 0.5817 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3895, allocations: 0.9285 MB / 0.5826 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.39, allocations: 0.8035 MB / 0.5834 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.3902, allocations: 38.95 kB / 0.5835 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.3903, allocations: 27.42 kB / 0.5835 GB, free: 13.71 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3903, allocations: 0 / 0.5835 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Templates: time 0.008458/0.3987, allocations: 3.418 MB / 0.5868 GB, free: 10.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 5.307701160898432]