Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001024/0.001024, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001051/0.001051, allocations: 139.9 kB / 24.89 MB, free: 9.207 MB / 18.57 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 0.9046/0.9046, allocations: 173.3 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.514e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.13/0.13, allocations: 35.99 MB / 304.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.1488, allocations: 10.48 MB / 315 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006157/0.155, allocations: 349.2 kB / 315.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.1658, allocations: 10.86 MB / 326.2 MB, free: 36 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.1769, allocations: 4.255 MB / 330.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004635/0.1815, allocations: 2.422 MB / 332.9 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.1968, allocations: 17.11 MB / 350 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02497/0.2218, allocations: 20.99 MB / 371 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/0.2407, allocations: 12.95 MB / 383.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.2545, allocations: 9.267 MB / 393.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006492/0.261, allocations: 2.41 MB / 395.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008615/0.2696, allocations: 2.804 MB / 398.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007522/0.2772, allocations: 4.995 MB / 403.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.2884, allocations: 6.25 MB / 409.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.3055, allocations: 15.34 MB / 425 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3055, allocations: 0 / 425 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3055, allocations: 0 / 425 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005882/0.3061, allocations: 4 kB / 425 MB, free: 13.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.2705/0.5766, allocations: 17.77 MB / 442.8 MB, free: 83.02 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.5766, allocations: 10.34 kB / 442.8 MB, free: 83.02 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02162/0.5983, allocations: 8.614 MB / 451.4 MB, free: 82.97 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008731/0.607, allocations: 5.455 MB / 456.8 MB, free: 82.15 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/0.6074, allocations: 1.062 MB / 457.9 MB, free: 82.12 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.6088, allocations: 1.408 MB / 459.3 MB, free: 82.1 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.621, allocations: 11.49 MB / 470.8 MB, free: 75.14 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.6212, allocations: 22.23 kB / 470.8 MB, free: 75.12 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009038/0.6221, allocations: 0.5824 MB / 471.4 MB, free: 74.55 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003674/0.6225, allocations: 0.7754 MB / 472.2 MB, free: 73.78 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007249/0.6297, allocations: 5.605 MB / 477.8 MB, free: 68.17 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0422/0.6719, allocations: 43.94 MB / 0.5095 GB, free: 26.2 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.6793, allocations: 8.063 MB / 0.5174 GB, free: 18.32 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.6809, allocations: 1.698 MB / 0.519 GB, free: 16.68 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008695/0.6896, allocations: 6.077 MB / 0.525 GB, free: 11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.6896, allocations: 90.77 kB / 0.525 GB, free: 10.9 MB / 378.8 MB Notification: Performance of pre-optimization done (n=498): time 6.492e-06/0.6897, allocations: 0 / 0.525 GB, free: 10.9 MB / 378.8 MB Notification: Performance of matching and sorting (n=506): time 0.02094/0.7106, allocations: 11.45 MB / 0.5362 GB, free: 15.64 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7107, allocations: 129.3 kB / 0.5364 GB, free: 15.49 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/0.7145, allocations: 3.665 MB / 0.5399 GB, free: 12.59 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.7148, allocations: 109.7 kB / 0.54 GB, free: 12.47 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.7169, allocations: 5.693 MB / 0.5456 GB, free: 6.969 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.7178, allocations: 1.803 MB / 0.5474 GB, free: 5.273 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.7192, allocations: 1.353 MB / 0.5487 GB, free: 4.066 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.7193, allocations: 309.1 kB / 0.549 GB, free: 3.762 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.7205, allocations: 1.001 MB / 0.55 GB, free: 2.758 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.7227, allocations: 3.672 MB / 0.5535 GB, free: 14.01 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.7268, allocations: 5.4 MB / 0.5588 GB, free: 7.844 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.848e-05/0.7268, allocations: 24 kB / 0.5588 GB, free: 7.82 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.006387/0.7332, allocations: 5.231 MB / 0.5639 GB, free: 3.211 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.7332, allocations: 44.56 kB / 0.564 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/0.7333, allocations: 96 kB / 0.5641 GB, free: 3.074 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.7357, allocations: 1.252 MB / 0.5653 GB, free: 1.832 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.7386, allocations: 1.514 MB / 0.5668 GB, free: 448 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009/0.7476, allocations: 11.3 MB / 0.5778 GB, free: 4.926 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.7505, allocations: 291.8 kB / 0.5781 GB, free: 4.641 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/0.7509, allocations: 294.2 kB / 0.5784 GB, free: 4.355 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002573/0.7535, allocations: 0.6106 MB / 0.579 GB, free: 3.848 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/0.7543, allocations: 0.4995 MB / 0.5795 GB, free: 3.348 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1457/0.9, allocations: 3.893 MB / 0.5833 GB, free: 106.6 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003937/0.9039, allocations: 1.879 MB / 0.5851 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.197e-05/0.904, allocations: 22.88 kB / 0.5851 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/0.904, allocations: 26.53 kB / 0.5851 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.9198, allocations: 9.505 MB / 0.5944 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.9198, allocations: 10.89 kB / 0.5944 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.9215, allocations: 0.7216 MB / 0.5951 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.924, allocations: 1.26 MB / 0.5964 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.9243, allocations: 114.9 kB / 0.5965 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008701/0.933, allocations: 14.62 MB / 0.6108 GB, free: 96.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.933, allocations: 15.34 kB / 0.6108 GB, free: 96.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.9385, allocations: 4.819 MB / 0.6155 GB, free: 95.32 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.9399, allocations: 0.7241 MB / 0.6162 GB, free: 95.32 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.9403, allocations: 108 kB / 0.6163 GB, free: 95.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.9415, allocations: 152.7 kB / 0.6164 GB, free: 95.32 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/0.942, allocations: 404.9 kB / 0.6168 GB, free: 95.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/0.9422, allocations: 108.9 kB / 0.6169 GB, free: 95.3 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001499/0.9437, allocations: 1.751 MB / 0.6186 GB, free: 95.17 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9437, allocations: 0 / 0.6186 GB, free: 95.17 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00471/0.9484, allocations: 2.329 MB / 0.6209 GB, free: 95.17 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005141/0.9489, allocations: 311.2 kB / 0.6212 GB, free: 95.09 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004593/0.9535, allocations: 4.669 MB / 0.6258 GB, free: 94.21 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001097/0.9536, allocations: 83.53 kB / 0.6258 GB, free: 94.19 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.9561, allocations: 3.004 MB / 0.6288 GB, free: 92.55 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.9591, allocations: 1.449 MB / 0.6302 GB, free: 91.73 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/0.9809, allocations: 20.56 MB / 0.6503 GB, free: 74.41 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.9832, allocations: 2.774 MB / 0.653 GB, free: 72.56 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00254/0.9857, allocations: 0.9151 MB / 0.6539 GB, free: 71.85 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/0.9878, allocations: 1.299 MB / 0.6551 GB, free: 70.75 MB / 426.8 MB Notification: Performance of SimCode: time 1.533e-06/0.9878, allocations: 0 / 0.6551 GB, free: 70.75 MB / 426.8 MB Notification: Performance of Templates: time 0.2238/1.212, allocations: 96.21 MB / 0.7491 GB, free: 119.9 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","",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.399666444864124]