Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001349/0.001349, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002524/0.002524, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+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(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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 51.91 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.276, allocations: 53.37 MB / 431.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01571/0.2917, allocations: 11.32 MB / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3018, allocations: 4.043 MB / 447 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.3046, allocations: 103.3 kB / 447.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.3082, allocations: 0.9626 MB / 448 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005908/0.3141, allocations: 1.239 MB / 449.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.3163, allocations: 0.5305 MB / 449.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007041/0.3233, allocations: 4.657 MB / 454.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/0.3278, allocations: 2.003 MB / 456.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/0.3326, allocations: 2.181 MB / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.3378, allocations: 2.537 MB / 461.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.3396, allocations: 0.5547 MB / 461.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.342, allocations: 0.6522 MB / 462.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002422/0.3444, allocations: 1.535 MB / 463.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.3496, allocations: 2.019 MB / 465.9 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.3624, allocations: 7.502 MB / 473.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3624, allocations: 0 / 473.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3624, allocations: 0 / 473.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003001/0.3627, allocations: 3.938 kB / 473.4 MB, free: 12.87 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.01587/0.3785, allocations: 4.755 MB / 478.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.3786, allocations: 12.02 kB / 478.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.3819, allocations: 0.5487 MB / 478.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007756/0.3897, allocations: 2.536 MB / 481.3 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.3901, allocations: 267 kB / 481.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.3918, allocations: 363.9 kB / 481.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.4073, allocations: 5.272 MB / 487.2 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.4075, allocations: 11.95 kB / 487.2 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009482/0.4084, allocations: 148 kB / 487.3 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.4087, allocations: 187 kB / 487.5 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.4187, allocations: 4.283 MB / 491.8 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.4486, allocations: 12.86 MB / 0.4928 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004988/0.4536, allocations: 2.695 MB / 0.4955 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.4574, allocations: 1.874 MB / 0.4973 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.4577, allocations: 54.53 kB / 0.4973 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.4577, allocations: 60.5 kB / 0.4974 GB, free: 8.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.428e-06/0.4577, allocations: 0 / 0.4974 GB, free: 8.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02386/0.4816, allocations: 9.578 MB / 0.5068 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.4817, allocations: 77.34 kB / 0.5068 GB, free: 14.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/0.487, allocations: 2.203 MB / 0.509 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004295/0.4874, allocations: 61.7 kB / 0.509 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.489, allocations: 1.68 MB / 0.5107 GB, free: 10.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009556/0.4899, allocations: 0.7591 MB / 0.5114 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.491, allocations: 420.4 kB / 0.5118 GB, free: 9.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4911, allocations: 305.1 kB / 0.5121 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.4936, allocations: 1.297 MB / 0.5134 GB, free: 7.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.4965, allocations: 1.778 MB / 0.5151 GB, free: 5.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/0.502, allocations: 3.211 MB / 0.5183 GB, free: 2.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.502, allocations: 4 kB / 0.5183 GB, free: 2.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00829/0.5103, allocations: 4.045 MB / 0.5222 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.5103, allocations: 8 kB / 0.5222 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.5104, allocations: 16 kB / 0.5222 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.5133, allocations: 0.8798 MB / 0.5231 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.5158, allocations: 0.5266 MB / 0.5236 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.5281, allocations: 8.998 MB / 0.5324 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.5307, allocations: 123.8 kB / 0.5325 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005353/0.5313, allocations: 88 kB / 0.5326 GB, free: 3.547 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.003254/0.5345, allocations: 1.215 MB / 0.5338 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.5355, allocations: 266.3 kB / 0.534 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2435/0.779, allocations: 3.673 MB / 0.5376 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.779, allocations: 24.31 kB / 0.5376 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.7791, allocations: 7.656 kB / 0.5376 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/0.7791, allocations: 11.75 kB / 0.5377 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.792, allocations: 7.113 MB / 0.5446 GB, free: 97.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.7921, allocations: 6.062 kB / 0.5446 GB, free: 97.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.7936, allocations: 382.5 kB / 0.545 GB, free: 97.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/0.7962, allocations: 0.924 MB / 0.5459 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.7964, allocations: 54.19 kB / 0.5459 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00882/0.8052, allocations: 10.49 MB / 0.5562 GB, free: 89.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.8052, allocations: 4 kB / 0.5562 GB, free: 89.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008174/0.8134, allocations: 5.488 MB / 0.5615 GB, free: 84.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/0.8154, allocations: 0.5391 MB / 0.5621 GB, free: 83.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005024/0.8159, allocations: 47.98 kB / 0.5621 GB, free: 83.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.8174, allocations: 119.9 kB / 0.5622 GB, free: 83.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/0.8178, allocations: 189.6 kB / 0.5624 GB, free: 83.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.8179, allocations: 59.98 kB / 0.5625 GB, free: 83.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001942/0.8199, allocations: 1.489 MB / 0.5639 GB, free: 81.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8199, allocations: 0 / 0.5639 GB, free: 81.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002438/0.8223, allocations: 0.7967 MB / 0.5647 GB, free: 81.13 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.0005497/0.8229, allocations: 244.1 kB / 0.5649 GB, free: 80.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00485/0.8277, allocations: 3.615 MB / 0.5685 GB, free: 77.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.8277, allocations: 1.875 kB / 0.5685 GB, free: 77.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.8307, allocations: 2.312 MB / 0.5707 GB, free: 74.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.8336, allocations: 0.6318 MB / 0.5713 GB, free: 74.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.8445, allocations: 7.856 MB / 0.579 GB, free: 66.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.8464, allocations: 2.239 MB / 0.5812 GB, free: 64.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00185/0.8483, allocations: 0.6375 MB / 0.5818 GB, free: 63.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.8488, allocations: 167.4 kB / 0.582 GB, free: 63.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8488, allocations: 0 / 0.582 GB, free: 63.35 MB / 446.1 MB Notification: Performance of Templates: time 0.06356/0.9123, allocations: 44.98 MB / 0.6259 GB, free: 18.99 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.025741195306182]