Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.007765/0.007765, allocations: 105.6 kB / 21.98 MB, free: 5.227 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.002044/0.002044, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 259 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002048/0.002048, allocations: 60.55 kB / 379.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2408, allocations: 53.38 MB / 433.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01549/0.2563, allocations: 13.02 MB / 446.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008895/0.2652, allocations: 4.28 MB / 450.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2672, allocations: 99.31 kB / 450.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.2698, allocations: 1.029 MB / 451.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.2735, allocations: 1.251 MB / 452.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2748, allocations: 0.5343 MB / 453.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00567/0.2805, allocations: 4.653 MB / 458.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2834, allocations: 2.078 MB / 460.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.2873, allocations: 2.184 MB / 462.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.2914, allocations: 2.627 MB / 465 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.2924, allocations: 0.5547 MB / 465.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2939, allocations: 0.6522 MB / 466.2 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.2954, allocations: 1.543 MB / 467.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003219/0.2986, allocations: 2.493 MB / 470.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008769/0.3074, allocations: 7.459 MB / 477.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3074, allocations: 7.875 kB / 477.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3074, allocations: 0 / 477.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.3076, allocations: 4 kB / 477.7 MB, free: 10.24 MB / 382.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.01061/0.3182, allocations: 4.74 MB / 482.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3182, allocations: 12.03 kB / 482.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.32, allocations: 0.5565 MB / 483 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/0.3254, allocations: 2.536 MB / 485.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.3256, allocations: 267 kB / 485.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008308/0.3265, allocations: 359.9 kB / 486.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.3365, allocations: 5.029 MB / 491.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.3366, allocations: 7.953 kB / 491.2 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.337, allocations: 144 kB / 491.3 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.3372, allocations: 183.1 kB / 491.5 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008228/0.3454, allocations: 4.298 MB / 495.8 MB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02543/0.3708, allocations: 14.59 MB / 0.4984 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.3751, allocations: 2.702 MB / 0.5011 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/0.3784, allocations: 1.87 MB / 0.5029 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.3787, allocations: 57.97 kB / 0.5029 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/0.3788, allocations: 57.02 kB / 0.503 GB, free: 4.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.977e-06/0.3788, allocations: 0 / 0.503 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02057/0.3994, allocations: 9.613 MB / 0.5124 GB, free: 10.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.3994, allocations: 73.41 kB / 0.5125 GB, free: 10.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.4034, allocations: 2.522 MB / 0.5149 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.4036, allocations: 61.7 kB / 0.515 GB, free: 8.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.405, allocations: 1.666 MB / 0.5166 GB, free: 6.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007289/0.4057, allocations: 0.7669 MB / 0.5174 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/0.4065, allocations: 420.5 kB / 0.5178 GB, free: 5.145 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4066, allocations: 301.1 kB / 0.518 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.4088, allocations: 1.301 MB / 0.5193 GB, free: 3.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.4113, allocations: 1.77 MB / 0.521 GB, free: 1.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004919/0.4162, allocations: 3.212 MB / 0.5242 GB, free: 14.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.4163, allocations: 4 kB / 0.5242 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007446/0.4237, allocations: 4.072 MB / 0.5282 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4237, allocations: 15.28 kB / 0.5282 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.4238, allocations: 12 kB / 0.5282 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.4267, allocations: 0.8942 MB / 0.5291 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.429, allocations: 0.5226 MB / 0.5296 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2189/0.6479, allocations: 9.169 MB / 0.5385 GB, free: 96.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.65, allocations: 116.3 kB / 0.5386 GB, free: 96.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/0.6503, allocations: 85.98 kB / 0.5387 GB, free: 96.42 MB / 446.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.0021/0.6524, allocations: 1.221 MB / 0.5399 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/0.653, allocations: 287.8 kB / 0.5402 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.659, allocations: 3.697 MB / 0.5438 GB, free: 95.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.659, allocations: 24.56 kB / 0.5438 GB, free: 95.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.659, allocations: 7.312 kB / 0.5438 GB, free: 95.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.659, allocations: 11.52 kB / 0.5438 GB, free: 95.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.6711, allocations: 8.001 MB / 0.5517 GB, free: 92.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6711, allocations: 7.141 kB / 0.5517 GB, free: 92.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.6726, allocations: 379.6 kB / 0.552 GB, free: 92.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.6753, allocations: 0.9254 MB / 0.5529 GB, free: 92.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.6755, allocations: 56.56 kB / 0.553 GB, free: 92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008583/0.6841, allocations: 10.68 MB / 0.5634 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6841, allocations: 4 kB / 0.5634 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006919/0.691, allocations: 5.516 MB / 0.5688 GB, free: 77.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.6925, allocations: 0.5799 MB / 0.5694 GB, free: 77.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/0.6929, allocations: 52 kB / 0.5694 GB, free: 77.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6942, allocations: 119.8 kB / 0.5695 GB, free: 77.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.6945, allocations: 185.7 kB / 0.5697 GB, free: 77.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.6947, allocations: 55.98 kB / 0.5698 GB, free: 77.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002015/0.6967, allocations: 1.739 MB / 0.5715 GB, free: 75.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6967, allocations: 4 kB / 0.5715 GB, free: 75.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002177/0.6988, allocations: 0.8036 MB / 0.5722 GB, free: 74.48 MB / 446.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.0005495/0.6994, allocations: 240.1 kB / 0.5725 GB, free: 74.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00482/0.7042, allocations: 3.625 MB / 0.576 GB, free: 70.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7042, allocations: 4 kB / 0.576 GB, free: 70.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002995/0.7072, allocations: 2.299 MB / 0.5783 GB, free: 68.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/0.7102, allocations: 0.7875 MB / 0.579 GB, free: 67.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.7206, allocations: 7.916 MB / 0.5868 GB, free: 59.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.7223, allocations: 2.727 MB / 0.5894 GB, free: 56.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009292/0.7232, allocations: 191.4 kB / 0.5896 GB, free: 56.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7232, allocations: 0 / 0.5896 GB, free: 56.59 MB / 446.1 MB Notification: Performance of Templates: time 0.1777/0.9009, allocations: 142.7 MB / 0.729 GB, free: 9.859 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 17.685771118849516]