Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 173.4 MB / 201.1 MB, free: 12.61 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.81 kB / 319.5 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08715, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03967/0.1268, allocations: 32.86 MB / 404.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.1478, allocations: 9.752 MB / 414.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006136/0.1539, allocations: 354.1 kB / 414.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02488/0.1788, allocations: 10.06 MB / 424.6 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.192, allocations: 4.125 MB / 428.7 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007305/0.1994, allocations: 2.372 MB / 431.1 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02163/0.221, allocations: 16.5 MB / 447.6 MB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03591/0.2569, allocations: 20.29 MB / 467.9 MB, free: 6.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3578/0.6146, allocations: 8.716 MB / 476.6 MB, free: 21.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.6279, allocations: 9.026 MB / 485.7 MB, free: 21.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005847/0.6338, allocations: 2.414 MB / 488.1 MB, free: 21.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008278/0.642, allocations: 2.8 MB / 490.9 MB, free: 21.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005369/0.6474, allocations: 4.819 MB / 495.7 MB, free: 20.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01176/0.6592, allocations: 7.161 MB / 0.4911 GB, free: 18.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02578/0.685, allocations: 32.32 MB / 0.5226 GB, free: 2.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.685, allocations: 2.344 kB / 0.5226 GB, free: 2.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.685, allocations: 0 / 0.5226 GB, free: 2.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006847/0.6856, allocations: 0 / 0.5226 GB, free: 2.062 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.05168/0.7373, allocations: 18.93 MB / 0.5411 GB, free: 3.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7374, allocations: 8.922 kB / 0.5411 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04932/0.7867, allocations: 8.375 MB / 0.5493 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/0.8101, allocations: 10.3 MB / 0.5594 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/0.8113, allocations: 1.062 MB / 0.5604 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/0.8163, allocations: 1.396 MB / 0.5618 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05391/0.8702, allocations: 23.05 MB / 0.5843 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005107/0.8707, allocations: 19.89 kB / 0.5843 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003562/0.8742, allocations: 0.5777 MB / 0.5849 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009321/0.8752, allocations: 0.7865 MB / 0.5856 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04729/0.9225, allocations: 20.93 MB / 0.6061 GB, free: 1.781 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/1.044, allocations: 62.97 MB / 0.6676 GB, free: 2.727 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2058/1.249, allocations: 13.75 MB / 0.681 GB, free: 187 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006524/1.256, allocations: 4.7 MB / 0.6856 GB, free: 186.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01738/1.273, allocations: 11.32 MB / 0.6966 GB, free: 181.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.273, allocations: 89.92 kB / 0.6967 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 8.526e-06/1.273, allocations: 0 / 0.6967 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.05087/1.324, allocations: 25.75 MB / 0.7219 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/1.324, allocations: 129.3 kB / 0.722 GB, free: 169 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007217/1.332, allocations: 5.492 MB / 0.7273 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008584/1.332, allocations: 109.7 kB / 0.7274 GB, free: 164.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002621/1.335, allocations: 6.369 MB / 0.7337 GB, free: 158.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.336, allocations: 1.814 MB / 0.7354 GB, free: 157 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/1.338, allocations: 1.468 MB / 0.7369 GB, free: 155.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/1.338, allocations: 301.1 kB / 0.7372 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.343, allocations: 3.627 MB / 0.7407 GB, free: 152.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005751/1.349, allocations: 6.535 MB / 0.7471 GB, free: 145.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.36, allocations: 10.76 MB / 0.7576 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.734e-05/1.36, allocations: 24 kB / 0.7576 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01668/1.377, allocations: 11.96 MB / 0.7693 GB, free: 121.2 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/1.377, allocations: 44 kB / 0.7693 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.799e-05/1.377, allocations: 92 kB / 0.7694 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/1.381, allocations: 1.586 MB / 0.771 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.386, allocations: 1.665 MB / 0.7726 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.404, allocations: 18.73 MB / 0.7909 GB, free: 98.57 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00537/1.409, allocations: 435.6 kB / 0.7913 GB, free: 98.14 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007026/1.41, allocations: 368 kB / 0.7916 GB, free: 97.79 MB / 0.5607 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.006882/1.417, allocations: 5.182 MB / 0.7967 GB, free: 92.59 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.418, allocations: 0.5861 MB / 0.7973 GB, free: 92 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.431, allocations: 9.128 MB / 0.8062 GB, free: 82.81 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007479/1.438, allocations: 5.833 MB / 0.8119 GB, free: 76.95 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/1.438, allocations: 16 kB / 0.8119 GB, free: 76.93 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.195e-05/1.438, allocations: 27.91 kB / 0.8119 GB, free: 76.9 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/1.464, allocations: 17.9 MB / 0.8294 GB, free: 58.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.464, allocations: 8 kB / 0.8294 GB, free: 58.94 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.468, allocations: 0.862 MB / 0.8303 GB, free: 58.08 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004007/1.472, allocations: 1.637 MB / 0.8319 GB, free: 56.42 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003763/1.472, allocations: 124 kB / 0.832 GB, free: 56.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/1.492, allocations: 22.01 MB / 0.8535 GB, free: 33.62 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.492, allocations: 8 kB / 0.8535 GB, free: 33.61 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/1.509, allocations: 13.49 MB / 0.8667 GB, free: 19.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002966/1.512, allocations: 1.294 MB / 0.8679 GB, free: 18.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009218/1.513, allocations: 108 kB / 0.868 GB, free: 18.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/1.516, allocations: 283.7 kB / 0.8683 GB, free: 18.12 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008003/1.517, allocations: 428.3 kB / 0.8687 GB, free: 17.69 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.517, allocations: 156 kB / 0.8689 GB, free: 17.54 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004523/1.522, allocations: 3.573 MB / 0.8723 GB, free: 13.98 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.522, allocations: 0 / 0.8723 GB, free: 13.98 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007676/1.529, allocations: 2.332 MB / 0.8746 GB, free: 11.65 MB / 0.5607 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.0007913/1.53, allocations: 324.5 kB / 0.8749 GB, free: 11.33 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.542, allocations: 9.439 MB / 0.8841 GB, free: 1.809 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.542, allocations: 0.5 kB / 0.8841 GB, free: 1.809 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.199/1.741, allocations: 5.123 MB / 0.8892 GB, free: 174.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007788/1.749, allocations: 1.425 MB / 0.8905 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04087/1.79, allocations: 25.11 MB / 0.9151 GB, free: 166.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008701/1.799, allocations: 8.489 MB / 0.9234 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006136/1.805, allocations: 2.476 MB / 0.9258 GB, free: 164.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.806, allocations: 442.2 kB / 0.9262 GB, free: 164 MB / 0.5607 GB Notification: Performance of SimCode: time 9.42e-07/1.806, allocations: 0 / 0.9262 GB, free: 164 MB / 0.5607 GB Notification: Performance of Templates: time 0.131/1.937, allocations: 88.3 MB / 1.012 GB, free: 84.68 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.142672390094958]