Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.3 MB / 258 MB, free: 8.207 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 378.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2518, allocations: 53.37 MB / 432.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04524/0.297, allocations: 39.16 MB / 471.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02707/0.3241, allocations: 10.36 MB / 481.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009646/0.3337, allocations: 358.1 kB / 482 MB, free: 4.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02548/0.3592, allocations: 10.35 MB / 492.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.3749, allocations: 4.215 MB / 496.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009296/0.3842, allocations: 2.501 MB / 499.1 MB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02439/0.4086, allocations: 16.66 MB / 0.5037 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03782/0.4464, allocations: 19.36 MB / 0.5226 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0177/0.4641, allocations: 8.724 MB / 0.5311 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4498/0.9139, allocations: 9.612 MB / 0.5405 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007322/0.9212, allocations: 2.417 MB / 0.5429 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008797/0.93, allocations: 2.843 MB / 0.5456 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007228/0.9373, allocations: 4.828 MB / 0.5503 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01675/0.954, allocations: 9.213 MB / 0.5593 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03514/0.9891, allocations: 32.25 MB / 0.5908 GB, free: 9.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.9892, allocations: 0 / 0.5908 GB, free: 9.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.9892, allocations: 0 / 0.5908 GB, free: 9.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001449/0.9906, allocations: 0 / 0.5908 GB, free: 9.277 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.05584/1.046, allocations: 18.99 MB / 0.6094 GB, free: 12.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.046, allocations: 12.03 kB / 0.6094 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04943/1.096, allocations: 8.286 MB / 0.6175 GB, free: 4.055 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02524/1.121, allocations: 10.37 MB / 0.6276 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001271/1.122, allocations: 1.056 MB / 0.6286 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006026/1.128, allocations: 1.403 MB / 0.63 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06576/1.194, allocations: 22.79 MB / 0.6523 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008953/1.195, allocations: 23.84 kB / 0.6523 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006371/1.201, allocations: 0.5786 MB / 0.6529 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/1.203, allocations: 0.7793 MB / 0.6536 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05482/1.258, allocations: 21.07 MB / 0.6742 GB, free: 10.31 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/1.386, allocations: 71.08 MB / 0.7436 GB, free: 3.07 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2886/1.675, allocations: 13.95 MB / 0.7572 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01095/1.686, allocations: 4.74 MB / 0.7619 GB, free: 191.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04031/1.726, allocations: 12.67 MB / 0.7742 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.834e-05/1.726, allocations: 96.53 kB / 0.7743 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 1.084e-05/1.726, allocations: 0 / 0.7743 GB, free: 186.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.08371/1.81, allocations: 25.86 MB / 0.7996 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/1.81, allocations: 130.7 kB / 0.7997 GB, free: 175.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.821, allocations: 5.797 MB / 0.8054 GB, free: 173 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.822, allocations: 109.7 kB / 0.8055 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004205/1.827, allocations: 6.367 MB / 0.8117 GB, free: 167.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00248/1.829, allocations: 1.82 MB / 0.8135 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/1.832, allocations: 1.483 MB / 0.8149 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/1.832, allocations: 301.1 kB / 0.8152 GB, free: 164 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007885/1.84, allocations: 3.644 MB / 0.8187 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009686/1.85, allocations: 6.478 MB / 0.8251 GB, free: 153 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01777/1.868, allocations: 10.79 MB / 0.8356 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.179e-05/1.868, allocations: 28 kB / 0.8356 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02878/1.897, allocations: 12.02 MB / 0.8474 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.897, allocations: 44.56 kB / 0.8474 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/1.897, allocations: 96 kB / 0.8475 GB, free: 128.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00591/1.903, allocations: 1.591 MB / 0.8491 GB, free: 127.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009106/1.912, allocations: 1.661 MB / 0.8507 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02939/1.941, allocations: 19.15 MB / 0.8694 GB, free: 105.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007426/1.949, allocations: 419.5 kB / 0.8698 GB, free: 105.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.95, allocations: 371.9 kB / 0.8701 GB, free: 104.9 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.008614/1.958, allocations: 5.198 MB / 0.8752 GB, free: 99.73 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.96, allocations: 0.6286 MB / 0.8758 GB, free: 99.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.974, allocations: 9.153 MB / 0.8848 GB, free: 89.89 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007927/1.982, allocations: 5.856 MB / 0.8905 GB, free: 84 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.255e-05/1.982, allocations: 16 kB / 0.8905 GB, free: 83.98 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/1.982, allocations: 31.89 kB / 0.8905 GB, free: 83.95 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/2.012, allocations: 20.94 MB / 0.911 GB, free: 62.95 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/2.012, allocations: 4 kB / 0.911 GB, free: 62.95 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003543/2.015, allocations: 0.8741 MB / 0.9118 GB, free: 62.07 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/2.02, allocations: 1.627 MB / 0.9134 GB, free: 60.42 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003459/2.02, allocations: 128 kB / 0.9136 GB, free: 60.29 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0213/2.041, allocations: 22.49 MB / 0.9355 GB, free: 37.03 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/2.041, allocations: 12.09 kB / 0.9355 GB, free: 37.02 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/2.06, allocations: 13.57 MB / 0.9488 GB, free: 23.13 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/2.063, allocations: 1.366 MB / 0.9501 GB, free: 21.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.065, allocations: 104 kB / 0.9502 GB, free: 21.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/2.068, allocations: 279.7 kB / 0.9505 GB, free: 21.39 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008757/2.069, allocations: 440.1 kB / 0.9509 GB, free: 20.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/2.069, allocations: 156 kB / 0.951 GB, free: 20.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005275/2.074, allocations: 3.908 MB / 0.9549 GB, free: 16.92 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/2.074, allocations: 0 / 0.9549 GB, free: 16.92 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008099/2.082, allocations: 2.336 MB / 0.9571 GB, free: 14.59 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.001193/2.084, allocations: 321.4 kB / 0.9575 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01372/2.097, allocations: 9.448 MB / 0.9667 GB, free: 4.75 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.097, allocations: 0 / 0.9667 GB, free: 4.75 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2184/2.316, allocations: 5.152 MB / 0.9717 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00925/2.325, allocations: 1.644 MB / 0.9733 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03931/2.364, allocations: 25.12 MB / 0.9978 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/2.375, allocations: 8.862 MB / 1.006 GB, free: 171.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006916/2.382, allocations: 2.528 MB / 1.009 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/2.383, allocations: 480.7 kB / 1.009 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.062e-06/2.383, allocations: 0 / 1.009 GB, free: 170.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.1588/2.542, allocations: 104.8 MB / 1.112 GB, free: 79.45 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.22769733518362]