Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001385/0.001385, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 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.001273/0.001273, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.92 kB / 366.9 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 52.14 MB / 419 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01624/0.1186, allocations: 13.68 MB / 432.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009315/0.1279, allocations: 4.996 MB / 437.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.1298, allocations: 79.69 kB / 437.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.1326, allocations: 1.08 MB / 438.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.1368, allocations: 1.46 MB / 440.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1391, allocations: 0.9619 MB / 441.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005537/0.1447, allocations: 4.301 MB / 445.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2006/0.3452, allocations: 2.339 MB / 447.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.3484, allocations: 2.025 MB / 449.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.3521, allocations: 2.302 MB / 452.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.3535, allocations: 0.5336 MB / 452.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.3562, allocations: 0.9474 MB / 453.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.3577, allocations: 1.371 MB / 455.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003769/0.3614, allocations: 2.346 MB / 457.4 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.3714, allocations: 7.385 MB / 464.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3714, allocations: 1.125 kB / 464.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3714, allocations: 0 / 464.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002046/0.3716, allocations: 0 / 464.8 MB, free: 7.227 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.0154/0.387, allocations: 5.102 MB / 469.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.387, allocations: 9.516 kB / 469.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.3921, allocations: 0.8963 MB / 470.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.3978, allocations: 2.789 MB / 473.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.398, allocations: 253.5 kB / 473.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.3992, allocations: 343 kB / 474.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009722/0.4089, allocations: 4.545 MB / 478.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.025e-05/0.409, allocations: 13.95 kB / 478.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004395/0.4094, allocations: 131 kB / 478.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.4096, allocations: 155.4 kB / 479 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008253/0.4179, allocations: 3.909 MB / 482.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.4477, allocations: 14.04 MB / 497 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008562/0.4562, allocations: 6.814 MB / 0.492 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003612/0.4598, allocations: 1.586 MB / 0.4935 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008925/0.4688, allocations: 4.246 MB / 0.4977 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.4688, allocations: 52.56 kB / 0.4977 GB, free: 5.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=165): time 5.35e-06/0.4688, allocations: 5.594 kB / 0.4977 GB, free: 5.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.0192/0.488, allocations: 7.791 MB / 0.5053 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.4881, allocations: 73.41 kB / 0.5054 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/0.4926, allocations: 2.631 MB / 0.508 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004216/0.4931, allocations: 57.7 kB / 0.508 GB, free: 10.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.4945, allocations: 1.65 MB / 0.5096 GB, free: 8.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008483/0.4953, allocations: 0.6562 MB / 0.5103 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006593/0.496, allocations: 335 kB / 0.5106 GB, free: 7.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4961, allocations: 309.1 kB / 0.5109 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.4979, allocations: 0.9097 MB / 0.5118 GB, free: 6.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.4999, allocations: 1.301 MB / 0.5131 GB, free: 5.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.5038, allocations: 2.35 MB / 0.5154 GB, free: 2.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.5038, allocations: 4 kB / 0.5154 GB, free: 2.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006677/0.5105, allocations: 3.065 MB / 0.5183 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.5106, allocations: 8.25 kB / 0.5184 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.5106, allocations: 16 kB / 0.5184 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.5123, allocations: 0.5456 MB / 0.5189 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.5143, allocations: 439.5 kB / 0.5193 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.525, allocations: 7.601 MB / 0.5267 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.5274, allocations: 83.94 kB / 0.5268 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.5277, allocations: 75.98 kB / 0.5269 GB, free: 6.879 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002837/0.5306, allocations: 1.162 MB / 0.528 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/0.5314, allocations: 278.3 kB / 0.5283 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/0.5377, allocations: 2.861 MB / 0.5311 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/0.5377, allocations: 21.08 kB / 0.5311 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.5377, allocations: 8 kB / 0.5311 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.5377, allocations: 7.969 kB / 0.5311 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.5512, allocations: 6.312 MB / 0.5373 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5512, allocations: 4 kB / 0.5373 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5527, allocations: 280.9 kB / 0.5376 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.5545, allocations: 0.6156 MB / 0.5382 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/0.5547, allocations: 43.98 kB / 0.5382 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.5685, allocations: 11.48 MB / 0.5494 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5685, allocations: 0 / 0.5494 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008879/0.5774, allocations: 4.145 MB / 0.5535 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/0.5793, allocations: 0.55 MB / 0.554 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007041/0.58, allocations: 36 kB / 0.554 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.5815, allocations: 94.44 kB / 0.5541 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004052/0.5819, allocations: 137.8 kB / 0.5543 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.582, allocations: 58.69 kB / 0.5543 GB, free: 10.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003351/0.5854, allocations: 1.839 MB / 0.5561 GB, free: 8.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5854, allocations: 0 / 0.5561 GB, free: 8.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003399/0.5888, allocations: 0.6913 MB / 0.5568 GB, free: 7.773 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.5905, allocations: 459.9 kB / 0.5572 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005963/0.5965, allocations: 2.724 MB / 0.5599 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5965, allocations: 0 / 0.5599 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00349/0.6, allocations: 1.853 MB / 0.5617 GB, free: 2.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/0.6035, allocations: 0.5762 MB / 0.5623 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.6186, allocations: 7.166 MB / 0.5692 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/0.6214, allocations: 2.57 MB / 0.5718 GB, free: 8.543 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009196/0.6223, allocations: 187.4 kB / 0.5719 GB, free: 8.359 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6223, allocations: 0 / 0.5719 GB, free: 8.359 MB / 478.1 MB Notification: Performance of Templates: time 0.3315/0.9538, allocations: 100.8 MB / 0.6704 GB, free: 148.5 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.983688910026103]