Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001038/0.001038, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.00123/0.00123, allocations: 164.7 kB / 25.69 MB, free: 8.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9106/0.9106, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.519e-05, allocations: 6.25 kB / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02822/0.02824, allocations: 36.11 MB / 287.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02481/0.05306, allocations: 10.49 MB / 298.2 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007624/0.06068, allocations: 306.2 kB / 298.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01516/0.07584, allocations: 10.78 MB / 309.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.09041, allocations: 4.275 MB / 313.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007224/0.09764, allocations: 2.436 MB / 316 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.1175, allocations: 17.26 MB / 333.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2852/0.4027, allocations: 20.99 MB / 354.3 MB, free: 29.68 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02618/0.4289, allocations: 13.04 MB / 367.3 MB, free: 29.68 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01583/0.4447, allocations: 9.385 MB / 376.7 MB, free: 29.68 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007593/0.4523, allocations: 2.419 MB / 379.1 MB, free: 29.68 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0091/0.4614, allocations: 2.832 MB / 381.9 MB, free: 29.68 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007967/0.4694, allocations: 5.048 MB / 387 MB, free: 29.68 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01287/0.4823, allocations: 6.307 MB / 393.3 MB, free: 27.65 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02123/0.5035, allocations: 15.46 MB / 408.8 MB, free: 17.7 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5035, allocations: 0 / 408.8 MB, free: 17.7 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5035, allocations: 0 / 408.8 MB, free: 17.7 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0006933/0.5042, allocations: 0 / 408.8 MB, free: 17.7 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.03199/0.5362, allocations: 17.95 MB / 426.7 MB, free: 0.6602 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5362, allocations: 11.98 kB / 426.7 MB, free: 0.6484 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03121/0.5674, allocations: 9.451 MB / 436.2 MB, free: 7.531 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.5795, allocations: 4.772 MB / 440.9 MB, free: 3.105 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009885/0.5805, allocations: 1.075 MB / 442 MB, free: 2.043 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005575/0.586, allocations: 1.426 MB / 443.4 MB, free: 0.6367 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/0.6158, allocations: 11.7 MB / 455.1 MB, free: 5.434 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004712/0.6163, allocations: 23.33 kB / 455.2 MB, free: 5.414 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003367/0.6196, allocations: 0.5813 MB / 455.8 MB, free: 4.848 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006422/0.6203, allocations: 0.8071 MB / 456.6 MB, free: 4.039 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.6384, allocations: 5.793 MB / 462.4 MB, free: 14.24 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08996/0.7284, allocations: 44.77 MB / 0.4952 GB, free: 2.938 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1763/0.9047, allocations: 9.194 MB / 0.5042 GB, free: 95.14 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.9074, allocations: 1.762 MB / 0.5059 GB, free: 95.05 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.9192, allocations: 7.016 MB / 0.5128 GB, free: 94.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.9193, allocations: 94.11 kB / 0.5129 GB, free: 94.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 5.991e-06/0.9193, allocations: 0 / 0.5129 GB, free: 94.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.0246/0.9439, allocations: 11.96 MB / 0.5246 GB, free: 93.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.944, allocations: 133.8 kB / 0.5247 GB, free: 93.26 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.9478, allocations: 3.798 MB / 0.5284 GB, free: 92.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.9481, allocations: 108.5 kB / 0.5285 GB, free: 92.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.9505, allocations: 5.841 MB / 0.5342 GB, free: 90.06 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009805/0.9515, allocations: 1.802 MB / 0.536 GB, free: 88.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.953, allocations: 1.42 MB / 0.5374 GB, free: 88.78 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.9531, allocations: 305.1 kB / 0.5376 GB, free: 88.48 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.9545, allocations: 1.027 MB / 0.5386 GB, free: 88.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.9566, allocations: 3.93 MB / 0.5425 GB, free: 84.68 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.9608, allocations: 5.699 MB / 0.5481 GB, free: 80.8 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/0.9608, allocations: 25.94 kB / 0.5481 GB, free: 80.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.007007/0.9678, allocations: 5.452 MB / 0.5534 GB, free: 79.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.9679, allocations: 52 kB / 0.5535 GB, free: 79.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.968, allocations: 100 kB / 0.5535 GB, free: 79.33 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.9705, allocations: 1.258 MB / 0.5548 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/0.9736, allocations: 1.728 MB / 0.5565 GB, free: 77.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00773/0.9814, allocations: 11.36 MB / 0.5676 GB, free: 68.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.9843, allocations: 299.8 kB / 0.5678 GB, free: 67.89 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.9846, allocations: 315.1 kB / 0.5681 GB, free: 67.66 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.002903/0.9875, allocations: 0.6465 MB / 0.5688 GB, free: 67.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/0.9883, allocations: 0.4946 MB / 0.5693 GB, free: 67.04 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/0.9929, allocations: 3.91 MB / 0.5731 GB, free: 64.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002185/0.9951, allocations: 1.888 MB / 0.5749 GB, free: 63.32 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.999e-05/0.9951, allocations: 20 kB / 0.5749 GB, free: 63.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.9951, allocations: 24.38 kB / 0.575 GB, free: 63.3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.008, allocations: 9.567 MB / 0.5843 GB, free: 56.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.008, allocations: 8 kB / 0.5843 GB, free: 56.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.01, allocations: 1.101 MB / 0.5854 GB, free: 55.35 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/1.014, allocations: 1.271 MB / 0.5866 GB, free: 54.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003415/1.014, allocations: 115 kB / 0.5867 GB, free: 54.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/1.024, allocations: 14.36 MB / 0.6008 GB, free: 39.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.024, allocations: 11.47 kB / 0.6008 GB, free: 39.94 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007191/1.032, allocations: 4.83 MB / 0.6055 GB, free: 34.98 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.033, allocations: 0.7333 MB / 0.6062 GB, free: 34.25 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006065/1.034, allocations: 108 kB / 0.6063 GB, free: 34.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.035, allocations: 156 kB / 0.6065 GB, free: 33.99 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007503/1.036, allocations: 395.1 kB / 0.6068 GB, free: 33.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002904/1.036, allocations: 112 kB / 0.6069 GB, free: 33.5 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002041/1.038, allocations: 1.798 MB / 0.6087 GB, free: 31.94 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.8e-07/1.038, allocations: 0 / 0.6087 GB, free: 31.94 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00682/1.045, allocations: 2.359 MB / 0.611 GB, free: 29.58 MB / 410.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.0005415/1.046, allocations: 289.9 kB / 0.6113 GB, free: 29.34 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006142/1.052, allocations: 4.775 MB / 0.6159 GB, free: 24.89 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001555/1.052, allocations: 83.94 kB / 0.616 GB, free: 24.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003327/1.055, allocations: 3.013 MB / 0.619 GB, free: 21.86 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/1.059, allocations: 1.474 MB / 0.6204 GB, free: 20.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.084, allocations: 20.88 MB / 0.6408 GB, free: 15.43 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/1.086, allocations: 2.806 MB / 0.6435 GB, free: 12.6 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00256/1.089, allocations: 0.9535 MB / 0.6445 GB, free: 11.64 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/1.091, allocations: 1.319 MB / 0.6457 GB, free: 10.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.032e-06/1.091, allocations: 0 / 0.6457 GB, free: 10.3 MB / 426.8 MB Notification: Performance of Templates: time 0.2625/1.354, allocations: 97.12 MB / 0.7406 GB, free: 51.32 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.762855788227171]