Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001818/0.001818, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002009/0.002009, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 51.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1026, allocations: 53.34 MB / 426.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2266/0.3293, allocations: 39.07 MB / 465.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02494/0.3542, allocations: 10.34 MB / 476.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00832/0.3625, allocations: 356.1 kB / 476.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02474/0.3873, allocations: 10.32 MB / 486.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01764/0.4049, allocations: 4.129 MB / 491.1 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007681/0.4126, allocations: 2.423 MB / 493.5 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0229/0.4355, allocations: 16.54 MB / 0.4981 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03908/0.4746, allocations: 23.68 MB / 0.5212 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/0.4912, allocations: 8.661 MB / 0.5297 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/0.5089, allocations: 9.593 MB / 0.539 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005602/0.5145, allocations: 2.414 MB / 0.5414 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007713/0.5222, allocations: 2.839 MB / 0.5442 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006907/0.5291, allocations: 4.828 MB / 0.5489 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01835/0.5475, allocations: 9.206 MB / 0.5579 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05064/0.5981, allocations: 32.23 MB / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5981, allocations: 4 kB / 0.5893 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5981, allocations: 3.938 kB / 0.5893 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001007/0.5991, allocations: 0 / 0.5893 GB, free: 15.46 MB / 0.4981 GB 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.07168/0.6708, allocations: 19.07 MB / 0.608 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.363e-05/0.6709, allocations: 12.03 kB / 0.608 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05237/0.7232, allocations: 8.271 MB / 0.6161 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4636/1.187, allocations: 10.28 MB / 0.6261 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/1.188, allocations: 1.06 MB / 0.6271 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005403/1.193, allocations: 1.404 MB / 0.6285 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06471/1.258, allocations: 22.79 MB / 0.6508 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008428/1.259, allocations: 22.25 kB / 0.6508 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005436/1.264, allocations: 0.5795 MB / 0.6513 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/1.266, allocations: 0.7791 MB / 0.6521 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04658/1.312, allocations: 21.07 MB / 0.6727 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/1.432, allocations: 72.87 MB / 0.7438 GB, free: 42.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0287/1.461, allocations: 42.12 MB / 0.785 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/1.471, allocations: 4.748 MB / 0.7896 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02938/1.501, allocations: 13.03 MB / 0.8023 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.717e-05/1.501, allocations: 94.7 kB / 0.8024 GB, free: 9.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 6.833e-06/1.501, allocations: 0 / 0.8024 GB, free: 9.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.07172/1.572, allocations: 26.62 MB / 0.8284 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.573, allocations: 129.3 kB / 0.8285 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.583, allocations: 5.793 MB / 0.8342 GB, free: 9.254 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.584, allocations: 109.7 kB / 0.8343 GB, free: 9.141 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00579/1.59, allocations: 6.367 MB / 0.8405 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002844/1.592, allocations: 1.811 MB / 0.8423 GB, free: 0.9688 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2235/1.816, allocations: 1.479 MB / 0.8437 GB, free: 185.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/1.816, allocations: 307.8 kB / 0.844 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005678/1.822, allocations: 3.636 MB / 0.8476 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007188/1.829, allocations: 6.484 MB / 0.8539 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.842, allocations: 10.79 MB / 0.8645 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.843, allocations: 27.3 kB / 0.8645 GB, free: 174.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0219/1.864, allocations: 12.1 MB / 0.8763 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.865, allocations: 44.03 kB / 0.8763 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/1.865, allocations: 92.97 kB / 0.8764 GB, free: 169.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/1.869, allocations: 1.594 MB / 0.878 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005825/1.875, allocations: 1.675 MB / 0.8796 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/1.895, allocations: 19.63 MB / 0.8988 GB, free: 155.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00593/1.901, allocations: 425.9 kB / 0.8992 GB, free: 155.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.902, allocations: 373.3 kB / 0.8996 GB, free: 155.7 MB / 0.5763 GB 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.007675/1.91, allocations: 5.192 MB / 0.9046 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.911, allocations: 0.6291 MB / 0.9052 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.926, allocations: 9.311 MB / 0.9143 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008038/1.934, allocations: 5.855 MB / 0.92 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/1.934, allocations: 26.44 kB / 0.9201 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.755e-05/1.934, allocations: 25.03 kB / 0.9201 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02851/1.962, allocations: 21.01 MB / 0.9406 GB, free: 126.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.962, allocations: 7.938 kB / 0.9406 GB, free: 126.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/1.966, allocations: 0.8698 MB / 0.9415 GB, free: 125.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004338/1.97, allocations: 1.643 MB / 0.9431 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/1.971, allocations: 131.9 kB / 0.9432 GB, free: 123.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02097/1.992, allocations: 23.21 MB / 0.9659 GB, free: 99.64 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.992, allocations: 15.88 kB / 0.9659 GB, free: 99.63 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/2.01, allocations: 13.72 MB / 0.9793 GB, free: 85.82 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/2.013, allocations: 1.397 MB / 0.9806 GB, free: 84.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/2.014, allocations: 108 kB / 0.9808 GB, free: 84.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/2.017, allocations: 279.9 kB / 0.981 GB, free: 84.02 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009187/2.018, allocations: 424.3 kB / 0.9814 GB, free: 83.61 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003322/2.018, allocations: 164 kB / 0.9816 GB, free: 83.45 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005044/2.024, allocations: 3.9 MB / 0.9854 GB, free: 79.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/2.024, allocations: 0 / 0.9854 GB, free: 79.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007731/2.031, allocations: 2.344 MB / 0.9877 GB, free: 77.23 MB / 0.5763 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,5,100.0%), (1,8,100.0%), (1,13,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.0007578/2.032, allocations: 315.6 kB / 0.988 GB, free: 76.94 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01336/2.045, allocations: 9.525 MB / 0.9973 GB, free: 67.32 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.045, allocations: 4 kB / 0.9973 GB, free: 67.31 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007419/2.053, allocations: 5.144 MB / 1.002 GB, free: 62.08 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00743/2.06, allocations: 1.647 MB / 1.004 GB, free: 60.48 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03914/2.099, allocations: 24.91 MB / 1.028 GB, free: 35.46 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00966/2.109, allocations: 8.856 MB / 1.037 GB, free: 26.56 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006184/2.115, allocations: 2.539 MB / 1.039 GB, free: 24.01 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/2.117, allocations: 483.3 kB / 1.04 GB, free: 23.54 MB / 0.5763 GB Notification: Performance of SimCode: time 8.42e-07/2.117, allocations: 3.938 kB / 1.04 GB, free: 23.54 MB / 0.5763 GB Notification: Performance of Templates: time 0.4041/2.521, allocations: 99.42 MB / 1.137 GB, free: 126.4 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.076476331800222]