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.001443/0.001443, allocations: 84.53 kB / 21.71 MB, free: 4.566 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.001533/0.001533, allocations: 157.3 kB / 25.02 MB, free: 2.422 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.556/1.556, allocations: 158.6 MB / 186.8 MB, free: 6.309 MB / 174.1 MB " [Timeout remaining time 178] 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.934e-06/1.934e-06, allocations: 0 / 250.4 MB, free: 11.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.116e-05, allocations: 2.312 kB / 250.4 MB, free: 11.68 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04472/0.04475, allocations: 32.92 MB / 283.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.03031/0.07507, allocations: 9.815 MB / 293.1 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01114/0.08621, allocations: 302.2 kB / 293.4 MB, free: 472 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0287/0.1149, allocations: 10.08 MB / 303.5 MB, free: 6.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01821/0.1331, allocations: 4.256 MB / 307.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00937/0.1425, allocations: 2.443 MB / 310.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02903/0.1715, allocations: 17.22 MB / 327.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0463/0.2178, allocations: 20.37 MB / 347.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4177/0.6355, allocations: 12.86 MB / 360.7 MB, free: 34.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01726/0.6527, allocations: 8.229 MB / 368.9 MB, free: 34.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008544/0.6613, allocations: 2.424 MB / 371.3 MB, free: 34.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/0.6747, allocations: 2.832 MB / 374.1 MB, free: 34.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01198/0.6867, allocations: 4.973 MB / 379.1 MB, free: 34.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0241/0.7108, allocations: 6.231 MB / 385.4 MB, free: 34.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04908/0.7599, allocations: 32.62 MB / 418 MB, free: 16.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7599, allocations: 2.156 kB / 418 MB, free: 16.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7599, allocations: 0 / 418 MB, free: 16.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.001251/0.7611, allocations: 0 / 418 MB, free: 16.66 MB / 334.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.07702/0.8382, allocations: 18.96 MB / 436.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.8382, allocations: 15.98 kB / 437 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06671/0.9049, allocations: 11.73 MB / 448.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02753/0.9325, allocations: 9.555 MB / 458.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001492/0.9339, allocations: 1.079 MB / 459.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008527/0.9425, allocations: 1.414 MB / 460.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08271/1.025, allocations: 23.5 MB / 484.2 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008505/1.026, allocations: 27.31 kB / 484.3 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007542/1.034, allocations: 0.5856 MB / 484.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/1.035, allocations: 0.8071 MB / 485.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06136/1.096, allocations: 21.6 MB / 0.4954 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.364/1.46, allocations: 65.63 MB / 0.5595 GB, free: 105.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02595/1.486, allocations: 15.91 MB / 0.575 GB, free: 92.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008945/1.495, allocations: 4.879 MB / 0.5798 GB, free: 87.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03231/1.527, allocations: 13.93 MB / 0.5934 GB, free: 74.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.498e-05/1.527, allocations: 86.77 kB / 0.5935 GB, free: 73.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=498): time 1.103e-05/1.528, allocations: 0 / 0.5935 GB, free: 73.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=506): time 0.06802/1.596, allocations: 26.54 MB / 0.6194 GB, free: 47.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/1.596, allocations: 129.3 kB / 0.6195 GB, free: 47.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/1.611, allocations: 5.651 MB / 0.625 GB, free: 42.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001589/1.612, allocations: 109.7 kB / 0.6251 GB, free: 42.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00458/1.617, allocations: 6.493 MB / 0.6315 GB, free: 36.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002662/1.619, allocations: 1.799 MB / 0.6332 GB, free: 34.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005985/1.625, allocations: 1.521 MB / 0.6347 GB, free: 32.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/1.626, allocations: 301.1 kB / 0.635 GB, free: 32.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006358/1.632, allocations: 3.689 MB / 0.6386 GB, free: 28.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/1.642, allocations: 6.815 MB / 0.6452 GB, free: 20.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/1.657, allocations: 11.15 MB / 0.6561 GB, free: 8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/1.657, allocations: 28 kB / 0.6562 GB, free: 7.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.2879/1.945, allocations: 12.65 MB / 0.6685 GB, free: 126 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.945, allocations: 53.05 kB / 0.6686 GB, free: 126 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/1.945, allocations: 97.84 kB / 0.6686 GB, free: 126 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/1.95, allocations: 1.597 MB / 0.6702 GB, free: 125.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007197/1.957, allocations: 1.747 MB / 0.6719 GB, free: 125.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/1.979, allocations: 18.82 MB / 0.6903 GB, free: 115.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007717/1.987, allocations: 439.6 kB / 0.6907 GB, free: 115.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/1.988, allocations: 391.3 kB / 0.6911 GB, free: 115.5 MB / 414.1 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.01125/2, allocations: 5.254 MB / 0.6962 GB, free: 113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/2.002, allocations: 0.7535 MB / 0.6969 GB, free: 112.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/2.017, allocations: 9.149 MB / 0.7059 GB, free: 109.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008111/2.025, allocations: 5.839 MB / 0.7116 GB, free: 105.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-05/2.025, allocations: 16 kB / 0.7116 GB, free: 105.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/2.025, allocations: 30.2 kB / 0.7116 GB, free: 105.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04062/2.066, allocations: 17.99 MB / 0.7292 GB, free: 88.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/2.066, allocations: 8.125 kB / 0.7292 GB, free: 88.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004078/2.07, allocations: 0.8659 MB / 0.73 GB, free: 87.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004544/2.074, allocations: 1.631 MB / 0.7316 GB, free: 86.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009846/2.075, allocations: 128 kB / 0.7318 GB, free: 86.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/2.098, allocations: 22.12 MB / 0.7534 GB, free: 63.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.098, allocations: 8.984 kB / 0.7534 GB, free: 63.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/2.119, allocations: 13.67 MB / 0.7667 GB, free: 49.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005272/2.124, allocations: 1.311 MB / 0.768 GB, free: 48.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/2.127, allocations: 111.9 kB / 0.7681 GB, free: 48.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004634/2.132, allocations: 287.7 kB / 0.7684 GB, free: 48.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/2.133, allocations: 425.4 kB / 0.7688 GB, free: 48.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008341/2.134, allocations: 152 kB / 0.7689 GB, free: 47.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.007533/2.142, allocations: 3.651 MB / 0.7725 GB, free: 44.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.142, allocations: 0 / 0.7725 GB, free: 44.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0118/2.154, allocations: 2.367 MB / 0.7748 GB, free: 42 MB / 414.1 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.001547/2.155, allocations: 307.2 kB / 0.7751 GB, free: 41.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01592/2.171, allocations: 9.568 MB / 0.7844 GB, free: 32.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/2.171, allocations: 4 kB / 0.7845 GB, free: 32.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00864/2.18, allocations: 5.151 MB / 0.7895 GB, free: 26.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/2.192, allocations: 1.489 MB / 0.7909 GB, free: 25.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2632/2.456, allocations: 25.59 MB / 0.8159 GB, free: 113.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02049/2.476, allocations: 8.568 MB / 0.8243 GB, free: 112.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.009376/2.486, allocations: 2.547 MB / 0.8268 GB, free: 112.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002497/2.488, allocations: 452.9 kB / 0.8272 GB, free: 112.5 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/2.488, allocations: 0 / 0.8272 GB, free: 112.5 MB / 414.1 MB Notification: Performance of Templates: time 0.1513/2.639, allocations: 88.49 MB / 0.9136 GB, free: 43.51 MB / 414.1 MB " [Timeout remaining time 657] 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 -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/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","/var/lib/jenkins/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: 10.407146092504263]