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.001753/0.001753, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002072/0.002072, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.422/1.422, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001541/0.001541, allocations: 43.94 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2134, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04096/0.2543, allocations: 33.39 MB / 465.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02075/0.2751, allocations: 10.03 MB / 475.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006141/0.2812, allocations: 358.1 kB / 476.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02476/0.306, allocations: 9.595 MB / 485.7 MB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.3193, allocations: 4.156 MB / 489.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007251/0.3266, allocations: 2.436 MB / 492.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02192/0.3485, allocations: 16.66 MB / 0.4971 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03249/0.381, allocations: 20.59 MB / 0.5172 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.3928, allocations: 8.724 MB / 0.5257 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01417/0.4069, allocations: 9.605 MB / 0.5351 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004363/0.4113, allocations: 2.414 MB / 0.5374 GB, free: 212 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1979/0.6092, allocations: 2.822 MB / 0.5402 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005241/0.6144, allocations: 4.82 MB / 0.5449 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.6252, allocations: 7.172 MB / 0.5519 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02205/0.6472, allocations: 32.37 MB / 0.5835 GB, free: 22.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6473, allocations: 0 / 0.5835 GB, free: 22.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6473, allocations: 0 / 0.5835 GB, free: 22.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005544/0.6478, allocations: 0 / 0.5835 GB, free: 22.86 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.04078/0.6886, allocations: 18.97 MB / 0.602 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6886, allocations: 8.25 kB / 0.602 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04319/0.7318, allocations: 8.28 MB / 0.6101 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/0.7533, allocations: 10.35 MB / 0.6202 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009559/0.7543, allocations: 1.063 MB / 0.6213 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/0.7576, allocations: 1.406 MB / 0.6227 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/0.8016, allocations: 23.09 MB / 0.6452 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003109/0.8019, allocations: 19.91 kB / 0.6452 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/0.8036, allocations: 0.5766 MB / 0.6458 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00085/0.8044, allocations: 0.7793 MB / 0.6465 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03867/0.8431, allocations: 20.98 MB / 0.667 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/0.9516, allocations: 63.04 MB / 0.7286 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02422/0.9758, allocations: 13.86 MB / 0.7421 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00771/0.9835, allocations: 4.734 MB / 0.7468 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2183/1.202, allocations: 11.41 MB / 0.7579 GB, free: 195.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.852e-05/1.202, allocations: 89.83 kB / 0.758 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=498): time 1.067e-05/1.202, allocations: 3.297 kB / 0.758 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=506): time 0.04982/1.252, allocations: 25.83 MB / 0.7832 GB, free: 191 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.252, allocations: 127.9 kB / 0.7833 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/1.258, allocations: 5.511 MB / 0.7887 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00048/1.259, allocations: 112.8 kB / 0.7888 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002498/1.261, allocations: 6.384 MB / 0.7951 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.262, allocations: 1.822 MB / 0.7968 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/1.264, allocations: 1.477 MB / 0.7983 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/1.264, allocations: 305.1 kB / 0.7986 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00428/1.268, allocations: 3.636 MB / 0.8021 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/1.273, allocations: 6.534 MB / 0.8085 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009874/1.283, allocations: 10.79 MB / 0.819 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.995e-05/1.283, allocations: 24 kB / 0.8191 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01578/1.299, allocations: 11.99 MB / 0.8308 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/1.299, allocations: 47.94 kB / 0.8308 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.999e-05/1.299, allocations: 92 kB / 0.8309 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003912/1.303, allocations: 1.592 MB / 0.8325 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/1.309, allocations: 1.671 MB / 0.8341 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/1.327, allocations: 18.72 MB / 0.8524 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/1.332, allocations: 423.6 kB / 0.8528 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/1.333, allocations: 375.9 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.006504/1.339, allocations: 5.189 MB / 0.8582 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.34, allocations: 0.5938 MB / 0.8588 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.353, allocations: 9.136 MB / 0.8677 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007708/1.361, allocations: 5.856 MB / 0.8734 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/1.361, allocations: 23.75 kB / 0.8734 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.014e-05/1.361, allocations: 23.91 kB / 0.8735 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/1.388, allocations: 17.98 MB / 0.891 GB, free: 92.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.388, allocations: 8.781 kB / 0.891 GB, free: 92.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003626/1.392, allocations: 0.8698 MB / 0.8919 GB, free: 91.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/1.396, allocations: 1.634 MB / 0.8935 GB, free: 89.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003273/1.396, allocations: 135.9 kB / 0.8936 GB, free: 89.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/1.416, allocations: 21.98 MB / 0.9151 GB, free: 66.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.416, allocations: 8 kB / 0.9151 GB, free: 66.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.433, allocations: 13.54 MB / 0.9283 GB, free: 52.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003421/1.436, allocations: 1.312 MB / 0.9296 GB, free: 51.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007632/1.437, allocations: 108.1 kB / 0.9297 GB, free: 51.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/1.44, allocations: 283.6 kB / 0.93 GB, free: 51.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008315/1.441, allocations: 434.4 kB / 0.9304 GB, free: 50.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/1.441, allocations: 160 kB / 0.9305 GB, free: 50.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004259/1.445, allocations: 3.586 MB / 0.934 GB, free: 47.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.445, allocations: 0 / 0.934 GB, free: 47.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006532/1.452, allocations: 2.336 MB / 0.9363 GB, free: 44.71 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.0006203/1.453, allocations: 311.8 kB / 0.9366 GB, free: 44.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.464, allocations: 9.458 MB / 0.9458 GB, free: 34.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.464, allocations: 4 kB / 0.9459 GB, free: 34.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006474/1.471, allocations: 5.148 MB / 0.9509 GB, free: 29.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/1.476, allocations: 1.444 MB / 0.9523 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03358/1.51, allocations: 25.04 MB / 0.9767 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2042/1.714, allocations: 8.488 MB / 0.985 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006244/1.72, allocations: 2.486 MB / 0.9875 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.722, allocations: 464 kB / 0.9879 GB, free: 174 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/1.722, allocations: 0 / 0.9879 GB, free: 174 MB / 0.5762 GB Notification: Performance of Templates: time 0.143/1.865, allocations: 107.2 MB / 1.093 GB, free: 94.84 MB / 0.5762 GB " [Timeout remaining time 658] 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 -s gbode -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: 10.323648770994623]