Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 119.9 kB / 18.45 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002411/0.002411, allocations: 189.2 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 366.9 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09646, allocations: 52.13 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01587/0.1123, allocations: 12.94 MB / 431.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00851/0.1208, allocations: 4.191 MB / 436.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.1229, allocations: 79.69 kB / 436.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.1258, allocations: 1.017 MB / 437.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.1299, allocations: 1.231 MB / 438.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1314, allocations: 0.5071 MB / 439 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005944/0.1373, allocations: 4.641 MB / 443.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/0.1408, allocations: 2.702 MB / 446.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1934/0.3342, allocations: 2.138 MB / 448.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.3378, allocations: 2.622 MB / 451.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.339, allocations: 0.5518 MB / 451.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3406, allocations: 0.6423 MB / 452.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.3422, allocations: 1.535 MB / 453.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0042/0.3464, allocations: 2.482 MB / 456.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009314/0.3557, allocations: 7.44 MB / 463.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3557, allocations: 0 / 463.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3557, allocations: 0 / 463.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002162/0.356, allocations: 0 / 463.7 MB, free: 8.992 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01327/0.3692, allocations: 4.812 MB / 468.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3693, allocations: 9.219 kB / 468.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.3712, allocations: 0.5238 MB / 469.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005212/0.3765, allocations: 2.58 MB / 471.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.3767, allocations: 266.1 kB / 471.9 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.3778, allocations: 361.6 kB / 472.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.3879, allocations: 5.026 MB / 477.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-05/0.388, allocations: 11.53 kB / 477.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003631/0.3884, allocations: 142.2 kB / 477.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.3886, allocations: 187.7 kB / 477.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007514/0.3961, allocations: 4.291 MB / 481.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02849/0.4246, allocations: 14.75 MB / 496.7 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005208/0.4298, allocations: 4.049 MB / 0.489 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/0.4332, allocations: 1.878 MB / 0.4908 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.4335, allocations: 142 kB / 0.4909 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/0.4336, allocations: 53.44 kB / 0.491 GB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.686e-06/0.4336, allocations: 0 / 0.491 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02231/0.4559, allocations: 10 MB / 0.5008 GB, free: 3.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.4559, allocations: 77.41 kB / 0.5008 GB, free: 3.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/0.4603, allocations: 2.506 MB / 0.5033 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.4606, allocations: 61.7 kB / 0.5033 GB, free: 1.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.462, allocations: 1.648 MB / 0.5049 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.4628, allocations: 0.7725 MB / 0.5057 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.4636, allocations: 420.4 kB / 0.5061 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4637, allocations: 301.1 kB / 0.5064 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.4659, allocations: 1.301 MB / 0.5077 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.4684, allocations: 1.778 MB / 0.5094 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004819/0.4732, allocations: 3.203 MB / 0.5125 GB, free: 7.375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.4732, allocations: 8 kB / 0.5125 GB, free: 7.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008205/0.4814, allocations: 4.071 MB / 0.5165 GB, free: 3.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.4815, allocations: 17.53 kB / 0.5165 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.4815, allocations: 12 kB / 0.5165 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/0.4844, allocations: 0.8858 MB / 0.5174 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.4868, allocations: 0.5268 MB / 0.5179 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.499, allocations: 9.485 MB / 0.5272 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.5015, allocations: 119.9 kB / 0.5273 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/0.5018, allocations: 91.98 kB / 0.5274 GB, free: 7.891 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00308/0.5049, allocations: 1.215 MB / 0.5286 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007905/0.5056, allocations: 286.2 kB / 0.5288 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/0.5133, allocations: 3.707 MB / 0.5325 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.5134, allocations: 22.62 kB / 0.5325 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.5134, allocations: 8 kB / 0.5325 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.5134, allocations: 7.969 kB / 0.5325 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.5301, allocations: 7.987 MB / 0.5403 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.5301, allocations: 7.938 kB / 0.5403 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.5319, allocations: 383.9 kB / 0.5407 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/0.5352, allocations: 0.9355 MB / 0.5416 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/0.5355, allocations: 54.89 kB / 0.5416 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.5491, allocations: 11.1 MB / 0.5525 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5491, allocations: 6.625 kB / 0.5525 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009948/0.559, allocations: 5.511 MB / 0.5579 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.5608, allocations: 0.6397 MB / 0.5585 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/0.5613, allocations: 51.98 kB / 0.5585 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.5628, allocations: 115.9 kB / 0.5587 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/0.5632, allocations: 184.3 kB / 0.5588 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.5634, allocations: 59.98 kB / 0.5589 GB, free: 7.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003008/0.5664, allocations: 1.723 MB / 0.5606 GB, free: 5.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5664, allocations: 0 / 0.5606 GB, free: 5.328 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002899/0.5693, allocations: 0.8085 MB / 0.5614 GB, free: 4.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005984/0.5699, allocations: 243.1 kB / 0.5616 GB, free: 4.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006618/0.5765, allocations: 3.764 MB / 0.5653 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5765, allocations: 4.062 kB / 0.5653 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004197/0.5807, allocations: 2.389 MB / 0.5676 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/0.5846, allocations: 0.7838 MB / 0.5684 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.6001, allocations: 7.843 MB / 0.576 GB, free: 5.438 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.603, allocations: 2.723 MB / 0.5787 GB, free: 2.688 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.6042, allocations: 195.3 kB / 0.5789 GB, free: 2.496 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6042, allocations: 0 / 0.5789 GB, free: 2.496 MB / 478.1 MB Notification: Performance of Templates: time 0.3222/0.9264, allocations: 142.2 MB / 0.7178 GB, free: 101 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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: 16.997285867109895]