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.001738/0.001738, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002113/0.002113, allocations: 215 kB / 24.48 MB, free: 3.957 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001576/0.001576, allocations: 47.94 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2609, allocations: 53.36 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04213/0.303, allocations: 33.41 MB / 465.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.3279, allocations: 10.02 MB / 475.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009115/0.3371, allocations: 358.1 kB / 476.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0252/0.3623, allocations: 9.606 MB / 485.8 MB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01577/0.378, allocations: 4.153 MB / 489.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008608/0.3866, allocations: 2.43 MB / 492.3 MB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02418/0.4108, allocations: 16.65 MB / 0.4971 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03976/0.4506, allocations: 20.6 MB / 0.5172 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01687/0.4674, allocations: 8.724 MB / 0.5257 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01821/0.4856, allocations: 9.605 MB / 0.5351 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007122/0.4928, allocations: 2.414 MB / 0.5374 GB, free: 224 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2702/0.763, allocations: 2.825 MB / 0.5402 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008342/0.7713, allocations: 4.818 MB / 0.5449 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01881/0.7901, allocations: 7.172 MB / 0.5519 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03793/0.8281, allocations: 32.37 MB / 0.5835 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.8281, allocations: 0 / 0.5835 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.8281, allocations: 0.7188 kB / 0.5835 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001074/0.8292, allocations: 0 / 0.5835 GB, free: 22.75 MB / 446.1 MB 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.06541/0.8946, allocations: 18.97 MB / 0.602 GB, free: 10.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8946, allocations: 11.47 kB / 0.6021 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04642/0.941, allocations: 8.284 MB / 0.6101 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02691/0.9679, allocations: 10.34 MB / 0.6202 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/0.9692, allocations: 1.056 MB / 0.6213 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007042/0.9763, allocations: 1.404 MB / 0.6226 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07555/1.052, allocations: 23.1 MB / 0.6452 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008409/1.053, allocations: 27.45 kB / 0.6452 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005491/1.058, allocations: 0.577 MB / 0.6458 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001205/1.059, allocations: 0.7755 MB / 0.6466 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05285/1.112, allocations: 20.99 MB / 0.667 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1426/1.255, allocations: 63.02 MB / 0.7286 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02723/1.282, allocations: 13.87 MB / 0.7421 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009822/1.292, allocations: 4.733 MB / 0.7468 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2789/1.571, allocations: 11.41 MB / 0.7579 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/1.571, allocations: 88.45 kB / 0.758 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=498): time 9.758e-06/1.571, allocations: 0.5 kB / 0.758 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=506): time 0.05566/1.627, allocations: 25.83 MB / 0.7832 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.627, allocations: 134.7 kB / 0.7833 GB, free: 191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007128/1.634, allocations: 5.51 MB / 0.7887 GB, free: 188.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008369/1.635, allocations: 117.1 kB / 0.7888 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002507/1.637, allocations: 6.379 MB / 0.7951 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001639/1.639, allocations: 1.821 MB / 0.7968 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002016/1.641, allocations: 1.48 MB / 0.7983 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.579e-05/1.641, allocations: 305.1 kB / 0.7986 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004352/1.645, allocations: 3.638 MB / 0.8021 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005217/1.65, allocations: 6.53 MB / 0.8085 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.661, allocations: 10.8 MB / 0.8191 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-05/1.661, allocations: 24 kB / 0.8191 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01803/1.68, allocations: 11.99 MB / 0.8308 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/1.68, allocations: 47.94 kB / 0.8308 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.68, allocations: 92 kB / 0.8309 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/1.684, allocations: 1.594 MB / 0.8325 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/1.69, allocations: 1.667 MB / 0.8341 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.709, allocations: 18.73 MB / 0.8524 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.716, allocations: 427.7 kB / 0.8528 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.717, allocations: 372 kB / 0.8531 GB, free: 131 MB / 0.5762 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.008283/1.725, allocations: 5.199 MB / 0.8582 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.727, allocations: 0.5938 MB / 0.8588 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.74, allocations: 9.129 MB / 0.8677 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007532/1.748, allocations: 5.856 MB / 0.8734 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.445e-05/1.748, allocations: 20 kB / 0.8735 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/1.748, allocations: 23.91 kB / 0.8735 GB, free: 110 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03546/1.784, allocations: 17.98 MB / 0.891 GB, free: 92.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/1.784, allocations: 8.781 kB / 0.891 GB, free: 92.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00397/1.788, allocations: 0.8699 MB / 0.8919 GB, free: 91.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004543/1.792, allocations: 1.638 MB / 0.8935 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.793, allocations: 131.9 kB / 0.8936 GB, free: 89.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/1.814, allocations: 21.98 MB / 0.9151 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.814, allocations: 11.94 kB / 0.9151 GB, free: 66.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.832, allocations: 13.54 MB / 0.9283 GB, free: 52.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003706/1.835, allocations: 1.304 MB / 0.9296 GB, free: 51.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009105/1.836, allocations: 108 kB / 0.9297 GB, free: 51.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.839, allocations: 279.7 kB / 0.93 GB, free: 51.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008511/1.84, allocations: 436.2 kB / 0.9304 GB, free: 50.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003244/1.84, allocations: 163.9 kB / 0.9305 GB, free: 50.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004723/1.845, allocations: 3.586 MB / 0.934 GB, free: 46.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.845, allocations: 0 / 0.934 GB, free: 46.99 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008845/1.854, allocations: 2.336 MB / 0.9363 GB, free: 44.65 MB / 0.5762 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.001092/1.855, allocations: 308.6 kB / 0.9366 GB, free: 44.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.869, allocations: 9.458 MB / 0.9459 GB, free: 34.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.869, allocations: 7.938 kB / 0.9459 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007586/1.876, allocations: 5.148 MB / 0.9509 GB, free: 29.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00846/1.885, allocations: 1.438 MB / 0.9523 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0424/1.927, allocations: 24.64 MB / 0.9764 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2551/2.182, allocations: 8.205 MB / 0.9844 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/2.185, allocations: 0.5275 MB / 0.9849 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/2.185, allocations: 0 / 0.9849 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of Templates: time 1.406/3.591, allocations: 0.6738 GB / 1.659 GB, free: 199.9 MB / 0.6075 GB " [Timeout remaining time 656] 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/jenkins1/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/jenkins1/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: 26.091721561009763]