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.0008854/0.0008854, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008967/0.0008967, allocations: 165 kB / 25.45 MB, free: 9.348 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.9331/0.9331, allocations: 158.6 MB / 187.2 MB, free: 3.062 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.523e-06/1.523e-06, allocations: 0 / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.372e-05, allocations: 6.281 kB / 299.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02429/0.02431, allocations: 32.9 MB / 332.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.04376, allocations: 9.783 MB / 342.4 MB, free: 12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008167/0.05193, allocations: 302.2 kB / 342.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01549/0.06742, allocations: 10.1 MB / 352.8 MB, free: 1.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1915/0.2589, allocations: 4.236 MB / 357.1 MB, free: 16.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006452/0.2654, allocations: 2.451 MB / 359.5 MB, free: 16.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01881/0.2842, allocations: 17.22 MB / 376.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02423/0.3084, allocations: 20.36 MB / 397.1 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02156/0.33, allocations: 13.12 MB / 410.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.3419, allocations: 8.234 MB / 418.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004929/0.3469, allocations: 2.422 MB / 420.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007407/0.3543, allocations: 2.821 MB / 423.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004128/0.3584, allocations: 4.98 MB / 428.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01145/0.3699, allocations: 6.239 MB / 434.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02862/0.3985, allocations: 32.6 MB / 467.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3985, allocations: 7.656 kB / 467.5 MB, free: 15.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3985, allocations: 0 / 467.5 MB, free: 15.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008665/0.3994, allocations: 0 / 467.5 MB, free: 15.17 MB / 410.7 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.04318/0.4425, allocations: 18.95 MB / 486.5 MB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4426, allocations: 11.98 kB / 486.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02599/0.4686, allocations: 9.368 MB / 495.9 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.4849, allocations: 9.267 MB / 0.4933 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007356/0.4856, allocations: 1.075 MB / 0.4943 GB, free: 8.961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004525/0.4901, allocations: 1.412 MB / 0.4957 GB, free: 7.562 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2711/0.7612, allocations: 23.51 MB / 0.5187 GB, free: 148.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001108/0.7623, allocations: 20.17 kB / 0.5187 GB, free: 148.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007054/0.7693, allocations: 0.582 MB / 0.5193 GB, free: 148.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.7708, allocations: 0.8076 MB / 0.52 GB, free: 148.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04487/0.8157, allocations: 21.61 MB / 0.5411 GB, free: 141.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08538/0.9011, allocations: 63.95 MB / 0.6036 GB, free: 81.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02337/0.9244, allocations: 15.82 MB / 0.619 GB, free: 68.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00712/0.9316, allocations: 4.885 MB / 0.6238 GB, free: 63.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/0.9533, allocations: 13.84 MB / 0.6373 GB, free: 50.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.9534, allocations: 98.06 kB / 0.6374 GB, free: 49.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=498): time 7.264e-06/0.9534, allocations: 0 / 0.6374 GB, free: 49.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=506): time 0.03482/0.9882, allocations: 26.33 MB / 0.6631 GB, free: 23.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.9883, allocations: 133.3 kB / 0.6633 GB, free: 23.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005619/0.9939, allocations: 5.641 MB / 0.6688 GB, free: 17.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.9941, allocations: 109.7 kB / 0.6689 GB, free: 17.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.9958, allocations: 6.504 MB / 0.6752 GB, free: 11.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000729/0.9965, allocations: 1.789 MB / 0.677 GB, free: 9.363 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.9979, allocations: 1.521 MB / 0.6785 GB, free: 7.836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.9979, allocations: 305.1 kB / 0.6787 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/1.001, allocations: 3.685 MB / 0.6823 GB, free: 3.848 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004566/1.006, allocations: 6.823 MB / 0.689 GB, free: 11.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1869/1.193, allocations: 11.14 MB / 0.6999 GB, free: 142.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/1.193, allocations: 31.5 kB / 0.6999 GB, free: 142.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01712/1.21, allocations: 12.26 MB / 0.7119 GB, free: 139.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/1.21, allocations: 51.84 kB / 0.7119 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.471e-05/1.21, allocations: 104.8 kB / 0.712 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/1.212, allocations: 1.594 MB / 0.7136 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.215, allocations: 1.741 MB / 0.7153 GB, free: 139.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/1.228, allocations: 18.72 MB / 0.7336 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/1.231, allocations: 440.5 kB / 0.734 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/1.232, allocations: 392 kB / 0.7344 GB, free: 127.1 MB / 474.7 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.006675/1.239, allocations: 5.25 MB / 0.7395 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007833/1.239, allocations: 0.603 MB / 0.7401 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008806/1.248, allocations: 9.139 MB / 0.749 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005017/1.253, allocations: 5.833 MB / 0.7547 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-05/1.253, allocations: 16 kB / 0.7547 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/1.253, allocations: 25.78 kB / 0.7547 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.272, allocations: 17.99 MB / 0.7723 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.272, allocations: 8 kB / 0.7723 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.274, allocations: 0.8581 MB / 0.7732 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1.276, allocations: 1.645 MB / 0.7748 GB, free: 99.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/1.276, allocations: 120 kB / 0.7749 GB, free: 99.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/1.289, allocations: 22 MB / 0.7964 GB, free: 76.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.289, allocations: 8 kB / 0.7964 GB, free: 76.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.3, allocations: 13.49 MB / 0.8096 GB, free: 63.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.302, allocations: 1.304 MB / 0.8108 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/1.303, allocations: 112 kB / 0.8109 GB, free: 62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.304, allocations: 283.7 kB / 0.8112 GB, free: 61.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006218/1.305, allocations: 432.2 kB / 0.8116 GB, free: 61.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.305, allocations: 152 kB / 0.8118 GB, free: 61.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003481/1.308, allocations: 3.647 MB / 0.8153 GB, free: 57.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.308, allocations: 0 / 0.8153 GB, free: 57.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005662/1.314, allocations: 2.368 MB / 0.8176 GB, free: 55.16 MB / 474.7 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.0005165/1.315, allocations: 308.7 kB / 0.8179 GB, free: 54.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00895/1.324, allocations: 9.558 MB / 0.8273 GB, free: 45.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.324, allocations: 0 / 0.8273 GB, free: 45.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004745/1.328, allocations: 5.145 MB / 0.8323 GB, free: 40 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/1.333, allocations: 1.437 MB / 0.8337 GB, free: 38.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/1.361, allocations: 24.85 MB / 0.858 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005135/1.366, allocations: 8.288 MB / 0.8661 GB, free: 5.289 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.368, allocations: 0.5004 MB / 0.8665 GB, free: 4.789 MB / 474.7 MB Notification: Performance of SimCode: time 2.284e-06/1.368, allocations: 0 / 0.8665 GB, free: 4.789 MB / 474.7 MB Notification: Performance of Templates: time 0.959/2.327, allocations: 0.6762 GB / 1.543 GB, free: 59.46 MB / 490.7 MB " [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 -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: 18.296934495680034]