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.001428/0.001428, allocations: 82.8 kB / 22 MB, free: 5.18 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.001403/0.001403, allocations: 161.4 kB / 25.25 MB, free: 3.027 MB / 14.72 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 1.284/1.284, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.92 kB / 299.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.208, allocations: 49.14 MB / 348.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03973/0.2478, allocations: 32.89 MB / 381.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.2695, allocations: 9.745 MB / 391.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007335/0.2769, allocations: 306.2 kB / 391.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02559/0.3025, allocations: 10.06 MB / 401.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01366/0.3161, allocations: 4.157 MB / 405.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.3228, allocations: 2.421 MB / 408.1 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02368/0.3465, allocations: 16.67 MB / 424.8 MB, free: 2.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03537/0.3818, allocations: 20.3 MB / 445.1 MB, free: 14.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.3944, allocations: 8.782 MB / 453.9 MB, free: 5.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01753/0.4119, allocations: 9.148 MB / 463 MB, free: 12.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007623/0.4195, allocations: 2.422 MB / 465.5 MB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.4297, allocations: 2.804 MB / 468.3 MB, free: 7.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009298/0.439, allocations: 4.878 MB / 473.1 MB, free: 2.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3554/0.7944, allocations: 7.223 MB / 480.4 MB, free: 37.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03077/0.8252, allocations: 32.34 MB / 0.5007 GB, free: 30.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8252, allocations: 6.359 kB / 0.5007 GB, free: 30.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8252, allocations: 0 / 0.5007 GB, free: 30.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000804/0.826, allocations: 0 / 0.5007 GB, free: 30.63 MB / 430.1 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.05101/0.877, allocations: 19.11 MB / 0.5193 GB, free: 18.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.877, allocations: 14.61 kB / 0.5194 GB, free: 18.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05074/0.9278, allocations: 9.364 MB / 0.5285 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/0.9483, allocations: 9.281 MB / 0.5376 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009601/0.9493, allocations: 1.068 MB / 0.5386 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00728/0.9566, allocations: 1.427 MB / 0.54 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06565/1.022, allocations: 23.5 MB / 0.563 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000839/1.023, allocations: 27.36 kB / 0.563 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006933/1.03, allocations: 0.586 MB / 0.5636 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/1.031, allocations: 0.8032 MB / 0.5643 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05123/1.082, allocations: 21.6 MB / 0.5854 GB, free: 5.008 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.132/1.214, allocations: 63.96 MB / 0.6479 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02866/1.243, allocations: 15.83 MB / 0.6634 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009118/1.252, allocations: 4.867 MB / 0.6681 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2215/1.474, allocations: 13.85 MB / 0.6816 GB, free: 186.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/1.474, allocations: 87.23 kB / 0.6817 GB, free: 186.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 8.416e-06/1.474, allocations: 3.281 kB / 0.6817 GB, free: 186.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.05269/1.526, allocations: 26.35 MB / 0.7074 GB, free: 178.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/1.526, allocations: 130.3 kB / 0.7076 GB, free: 178.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007349/1.534, allocations: 5.653 MB / 0.7131 GB, free: 176.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007096/1.534, allocations: 105.5 kB / 0.7132 GB, free: 176.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.537, allocations: 6.518 MB / 0.7196 GB, free: 170.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.538, allocations: 1.829 MB / 0.7213 GB, free: 169 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/1.54, allocations: 1.53 MB / 0.7228 GB, free: 167.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.709e-05/1.54, allocations: 305.1 kB / 0.7231 GB, free: 167.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004493/1.545, allocations: 3.688 MB / 0.7267 GB, free: 164.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/1.55, allocations: 6.813 MB / 0.7334 GB, free: 156.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.562, allocations: 11.15 MB / 0.7443 GB, free: 144.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-05/1.562, allocations: 28 kB / 0.7443 GB, free: 144.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01949/1.581, allocations: 12.26 MB / 0.7563 GB, free: 133.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.581, allocations: 52 kB / 0.7563 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/1.582, allocations: 100 kB / 0.7564 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/1.586, allocations: 1.598 MB / 0.758 GB, free: 132.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006586/1.592, allocations: 1.75 MB / 0.7597 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/1.613, allocations: 18.72 MB / 0.778 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/1.619, allocations: 439.7 kB / 0.7784 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.621, allocations: 392 kB / 0.7788 GB, free: 110.4 MB / 0.545 GB 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.009283/1.63, allocations: 5.246 MB / 0.7839 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/1.632, allocations: 0.6055 MB / 0.7845 GB, free: 104.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.648, allocations: 9.135 MB / 0.7934 GB, free: 95.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008658/1.657, allocations: 5.833 MB / 0.7991 GB, free: 89.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/1.657, allocations: 19.94 kB / 0.7991 GB, free: 89.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.682e-05/1.657, allocations: 31.89 kB / 0.7991 GB, free: 89.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/1.691, allocations: 17.98 MB / 0.8167 GB, free: 71.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/1.691, allocations: 8 kB / 0.8167 GB, free: 71.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/1.695, allocations: 0.8581 MB / 0.8175 GB, free: 70.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004502/1.7, allocations: 1.644 MB / 0.8192 GB, free: 68.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008301/1.701, allocations: 128 kB / 0.8193 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/1.722, allocations: 22 MB / 0.8408 GB, free: 46.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.722, allocations: 11.94 kB / 0.8408 GB, free: 46.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/1.742, allocations: 13.52 MB / 0.854 GB, free: 32.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003479/1.746, allocations: 1.307 MB / 0.8552 GB, free: 30.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/1.747, allocations: 111.9 kB / 0.8554 GB, free: 30.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003543/1.751, allocations: 287.7 kB / 0.8556 GB, free: 30.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000927/1.751, allocations: 428.2 kB / 0.856 GB, free: 30.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004052/1.752, allocations: 152 kB / 0.8562 GB, free: 29.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005509/1.757, allocations: 3.651 MB / 0.8597 GB, free: 26.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.757, allocations: 4 kB / 0.8597 GB, free: 26.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007848/1.765, allocations: 2.355 MB / 0.862 GB, free: 23.95 MB / 0.545 GB 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.0006979/1.766, allocations: 303.8 kB / 0.8623 GB, free: 23.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.779, allocations: 9.557 MB / 0.8717 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.779, allocations: 7.938 kB / 0.8717 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007703/1.787, allocations: 5.149 MB / 0.8767 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009227/1.796, allocations: 1.446 MB / 0.8781 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2324/2.028, allocations: 25.46 MB / 0.903 GB, free: 167.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/2.038, allocations: 8.565 MB / 0.9114 GB, free: 166.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006025/2.044, allocations: 2.543 MB / 0.9138 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/2.046, allocations: 456.2 kB / 0.9143 GB, free: 166.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/2.046, allocations: 2.844 kB / 0.9143 GB, free: 166.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1333/2.179, allocations: 88.74 MB / 1.001 GB, free: 89.59 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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: 9.526616565999575]