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.001832/0.001832, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002506/0.002506, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.607/1.607, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2964/0.2964, allocations: 46.93 MB / 360.8 MB, free: 4.262 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+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.002038/0.002038, allocations: 67.91 kB / 0.4966 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 66.03 MB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005461/0.4309, allocations: 3.555 MB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.4328, allocations: 0.8334 MB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.4331, allocations: 11.94 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.4333, allocations: 75.28 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.4336, allocations: 134.8 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.434, allocations: 127.8 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.4347, allocations: 0.518 MB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.435, allocations: 193 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.4353, allocations: 211.3 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.4357, allocations: 235 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.4358, allocations: 48 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.4358, allocations: 48 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.436, allocations: 115.5 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.4362, allocations: 250.8 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.4368, allocations: 0.5521 MB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4369, allocations: 0 / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4369, allocations: 4 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4369, allocations: 3.984 kB / 0.5678 GB, free: 13.47 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.001441/0.4383, allocations: 0.7001 MB / 0.5685 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4383, allocations: 8.031 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.4384, allocations: 52.61 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.4389, allocations: 259.7 kB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.439, allocations: 37.38 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.4391, allocations: 44.38 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008443/0.4399, allocations: 475.4 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4399, allocations: 0 / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.44, allocations: 20 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.44, allocations: 15.94 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.4407, allocations: 320.1 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.4433, allocations: 1.612 MB / 0.5713 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.4439, allocations: 233 kB / 0.5715 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.4442, allocations: 121.9 kB / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4443, allocations: 7.938 kB / 0.5716 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4443, allocations: 34.56 kB / 0.5717 GB, free: 9.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.4443, allocations: 4 kB / 0.5717 GB, free: 9.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003095/0.4474, allocations: 1.127 MB / 0.5728 GB, free: 8.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.4475, allocations: 85.02 kB / 0.5728 GB, free: 8.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.4478, allocations: 265.8 kB / 0.5731 GB, free: 7.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.4479, allocations: 29.7 kB / 0.5731 GB, free: 7.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.4481, allocations: 268.1 kB / 0.5734 GB, free: 7.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.4482, allocations: 126.9 kB / 0.5735 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4483, allocations: 82.09 kB / 0.5736 GB, free: 7.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4485, allocations: 342.7 kB / 0.5739 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.4488, allocations: 108.8 kB / 0.574 GB, free: 6.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.4492, allocations: 212.3 kB / 0.5742 GB, free: 6.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.4498, allocations: 336.1 kB / 0.5745 GB, free: 6.211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4498, allocations: 4 kB / 0.5745 GB, free: 6.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009087/0.4508, allocations: 420.2 kB / 0.5749 GB, free: 5.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4508, allocations: 4 kB / 0.5749 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4508, allocations: 4 kB / 0.5749 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.451, allocations: 32.84 kB / 0.575 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.4515, allocations: 135.9 kB / 0.5751 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.4528, allocations: 1.331 MB / 0.5764 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.4531, allocations: 23.98 kB / 0.5764 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.4531, allocations: 16 kB / 0.5764 GB, free: 4.117 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.0002467/0.4534, allocations: 173.6 kB / 0.5766 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.4534, allocations: 31.81 kB / 0.5766 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.4535, allocations: 34.12 kB / 0.5767 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.4535, allocations: 12.05 kB / 0.5767 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.4535, allocations: 0 / 0.5767 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4536, allocations: 4 kB / 0.5767 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4548, allocations: 0.6716 MB / 0.5773 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4548, allocations: 3.938 kB / 0.5773 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.4552, allocations: 99.94 kB / 0.5774 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.673e-05/0.4553, allocations: 24.84 kB / 0.5775 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.4554, allocations: 11.94 kB / 0.5775 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.4564, allocations: 1.319 MB / 0.5788 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4564, allocations: 0 / 0.5788 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.4575, allocations: 0.6125 MB / 0.5794 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4576, allocations: 51.78 kB / 0.5794 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.4577, allocations: 8 kB / 0.5794 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.458, allocations: 19.98 kB / 0.5794 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.4581, allocations: 35.83 kB / 0.5795 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.4581, allocations: 8 kB / 0.5795 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.4583, allocations: 185.2 kB / 0.5797 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4583, allocations: 0 / 0.5797 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.4588, allocations: 95.94 kB / 0.5797 GB, free: 0.5195 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.0001457/0.4589, allocations: 111.1 kB / 0.5798 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009307/0.4599, allocations: 395 kB / 0.5802 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4599, allocations: 0 / 0.5802 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.4603, allocations: 242.6 kB / 0.5805 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.4608, allocations: 43.73 kB / 0.5805 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.4628, allocations: 0.9246 MB / 0.5814 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.4635, allocations: 0.8113 MB / 0.5822 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.4636, allocations: 30.97 kB / 0.5822 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.4637, allocations: 27.42 kB / 0.5823 GB, free: 13.86 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4637, allocations: 0 / 0.5823 GB, free: 13.86 MB / 430.1 MB Notification: Performance of Templates: time 0.008845/0.4725, allocations: 3.42 MB / 0.5856 GB, free: 10.46 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/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: 5.920615193899721]