Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.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.005237/0.005237, allocations: 106 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.001381/0.001381, 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.427/1.427, allocations: 230.6 MB / 259 MB, free: 8.031 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.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.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.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.InductionMachines.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.002003/0.002003, allocations: 67.88 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2444, allocations: 53.35 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01582/0.2603, allocations: 13.01 MB / 446.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008744/0.269, allocations: 4.284 MB / 450.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2711, allocations: 103.3 kB / 450.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.2737, allocations: 1.029 MB / 451.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.2773, allocations: 1.243 MB / 452.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.2788, allocations: 0.5383 MB / 453.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006742/0.2856, allocations: 4.652 MB / 458 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003537/0.2891, allocations: 2.074 MB / 460.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/0.2938, allocations: 2.179 MB / 462.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004964/0.2987, allocations: 2.627 MB / 464.9 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.3003, allocations: 0.5508 MB / 465.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.3024, allocations: 0.66 MB / 466.1 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.3043, allocations: 1.535 MB / 467.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004235/0.3085, allocations: 2.493 MB / 470.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3186, allocations: 7.459 MB / 477.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3186, allocations: 0 / 477.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3186, allocations: 3.938 kB / 477.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002589/0.3189, allocations: 3.938 kB / 477.6 MB, free: 10.33 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.01249/0.3314, allocations: 4.748 MB / 482.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3314, allocations: 8.031 kB / 482.4 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.3334, allocations: 0.5526 MB / 482.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/0.3393, allocations: 2.54 MB / 485.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.3396, allocations: 267 kB / 485.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000939/0.3405, allocations: 363.9 kB / 486.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.3516, allocations: 5.029 MB / 491.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-05/0.3517, allocations: 7.953 kB / 491.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/0.3521, allocations: 148 kB / 491.3 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.3523, allocations: 179.1 kB / 491.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008767/0.3611, allocations: 4.302 MB / 495.8 MB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.027/0.3881, allocations: 14.58 MB / 0.4984 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.3924, allocations: 2.706 MB / 0.501 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/0.3958, allocations: 1.874 MB / 0.5028 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.3961, allocations: 53.95 kB / 0.5029 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.3962, allocations: 60.88 kB / 0.503 GB, free: 4.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.707e-06/0.3962, allocations: 4 kB / 0.503 GB, free: 4.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02085/0.417, allocations: 9.613 MB / 0.5123 GB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.4171, allocations: 77.34 kB / 0.5124 GB, free: 10.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/0.4212, allocations: 2.514 MB / 0.5149 GB, free: 8.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.4215, allocations: 65.64 kB / 0.5149 GB, free: 8.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4229, allocations: 1.666 MB / 0.5166 GB, free: 6.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007735/0.4237, allocations: 0.763 MB / 0.5173 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.4244, allocations: 416.5 kB / 0.5177 GB, free: 5.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4246, allocations: 305.1 kB / 0.518 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.4268, allocations: 1.297 MB / 0.5193 GB, free: 3.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/0.4295, allocations: 1.774 MB / 0.521 GB, free: 1.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004984/0.4344, allocations: 3.219 MB / 0.5241 GB, free: 14.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.4344, allocations: 4 kB / 0.5241 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007531/0.442, allocations: 4.069 MB / 0.5281 GB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.442, allocations: 12 kB / 0.5281 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.442, allocations: 12.47 kB / 0.5281 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/0.4449, allocations: 0.8911 MB / 0.529 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/0.4471, allocations: 0.5266 MB / 0.5295 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2343/0.6814, allocations: 9.17 MB / 0.5385 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.6839, allocations: 115.5 kB / 0.5386 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004758/0.6844, allocations: 87.92 kB / 0.5387 GB, free: 96.16 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.002646/0.6871, allocations: 1.224 MB / 0.5399 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008861/0.688, allocations: 291 kB / 0.5401 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006814/0.6948, allocations: 3.69 MB / 0.5437 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.6948, allocations: 26 kB / 0.5438 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/0.6948, allocations: 8.562 kB / 0.5438 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/0.6948, allocations: 12.08 kB / 0.5438 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.7079, allocations: 7.999 MB / 0.5516 GB, free: 92.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.7079, allocations: 3.688 kB / 0.5516 GB, free: 92.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.7096, allocations: 383.6 kB / 0.552 GB, free: 92.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00281/0.7124, allocations: 0.9338 MB / 0.5529 GB, free: 91.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/0.7126, allocations: 53.25 kB / 0.5529 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009042/0.7216, allocations: 10.67 MB / 0.5634 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7216, allocations: 7.938 kB / 0.5634 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007758/0.7294, allocations: 5.513 MB / 0.5688 GB, free: 77.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/0.7312, allocations: 0.5756 MB / 0.5693 GB, free: 77.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006557/0.7319, allocations: 56.03 kB / 0.5694 GB, free: 77.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.7334, allocations: 115.8 kB / 0.5695 GB, free: 77.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.7337, allocations: 181.6 kB / 0.5697 GB, free: 77.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.7339, allocations: 66.05 kB / 0.5697 GB, free: 77.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002247/0.7361, allocations: 1.743 MB / 0.5714 GB, free: 75.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7361, allocations: 0 / 0.5714 GB, free: 75.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002511/0.7386, allocations: 0.8046 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.0005384/0.7392, allocations: 232.6 kB / 0.5724 GB, free: 74.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.744, allocations: 3.629 MB / 0.576 GB, free: 70.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.744, allocations: 4.062 kB / 0.576 GB, free: 70.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003064/0.7471, allocations: 2.306 MB / 0.5782 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.003257/0.7504, allocations: 0.7885 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.01048/0.7608, allocations: 7.905 MB / 0.5867 GB, free: 59.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/0.7626, allocations: 2.727 MB / 0.5894 GB, free: 56.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008754/0.7635, allocations: 195.4 kB / 0.5896 GB, free: 56.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7635, allocations: 0 / 0.5896 GB, free: 56.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1416/0.905, allocations: 142.7 MB / 0.729 GB, free: 9.867 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.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: 18.083700984017923]