Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001259/0.001259, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001338/0.001338, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 43.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2354, allocations: 53.37 MB / 431.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0168/0.2522, allocations: 14.39 MB / 446.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009243/0.2614, allocations: 5.403 MB / 451.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.2626, allocations: 103.4 kB / 451.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.265, allocations: 1.103 MB / 452.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.2681, allocations: 1.499 MB / 454.2 MB, free: 336 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.2702, allocations: 1.034 MB / 455.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.2749, allocations: 4.385 MB / 459.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.2773, allocations: 1.857 MB / 461.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.2798, allocations: 2.076 MB / 463.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.283, allocations: 2.441 MB / 466 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008239/0.2838, allocations: 0.5312 MB / 466.5 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.2855, allocations: 0.9876 MB / 467.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.2868, allocations: 1.394 MB / 468.9 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.2892, allocations: 2.36 MB / 471.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007882/0.297, allocations: 7.416 MB / 478.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2971, allocations: 0 / 478.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2971, allocations: 0 / 478.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.407e-05/0.2971, allocations: 0 / 478.7 MB, free: 7.707 MB / 382.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.01112/0.3083, allocations: 5.064 MB / 483.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3083, allocations: 15.95 kB / 483.7 MB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.3127, allocations: 0.9116 MB / 484.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.318, allocations: 2.776 MB / 487.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.3182, allocations: 246.7 kB / 487.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/0.3187, allocations: 335.9 kB / 488 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/0.3262, allocations: 4.555 MB / 492.5 MB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.88e-05/0.3263, allocations: 3.953 kB / 492.6 MB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/0.3266, allocations: 136 kB / 492.7 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.3268, allocations: 158.7 kB / 492.8 MB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006704/0.3335, allocations: 3.926 MB / 496.8 MB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.355, allocations: 13.86 MB / 0.4987 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/0.3612, allocations: 2.979 MB / 0.5016 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.3641, allocations: 1.579 MB / 0.5031 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007577/0.3717, allocations: 4.024 MB / 0.507 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.3718, allocations: 55.88 kB / 0.5071 GB, free: 14.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.346e-06/0.3718, allocations: 0 / 0.5071 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01666/0.3884, allocations: 7.433 MB / 0.5143 GB, free: 7.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.3885, allocations: 69.41 kB / 0.5144 GB, free: 7.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/0.3922, allocations: 2.665 MB / 0.517 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.3923, allocations: 57.7 kB / 0.5171 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.3937, allocations: 1.674 MB / 0.5187 GB, free: 2.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005564/0.3942, allocations: 0.6622 MB / 0.5194 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005486/0.3948, allocations: 343.4 kB / 0.5197 GB, free: 1.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3949, allocations: 305.1 kB / 0.52 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.3965, allocations: 0.9058 MB / 0.5209 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.3985, allocations: 1.314 MB / 0.5221 GB, free: 15.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.4023, allocations: 2.352 MB / 0.5244 GB, free: 12.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4023, allocations: 8 kB / 0.5244 GB, free: 12.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005852/0.4081, allocations: 3.066 MB / 0.5274 GB, free: 9.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4082, allocations: 12 kB / 0.5274 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4082, allocations: 12 kB / 0.5275 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.4097, allocations: 0.5477 MB / 0.528 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.4115, allocations: 439.3 kB / 0.5284 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.4215, allocations: 7.394 MB / 0.5356 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.423, allocations: 79.94 kB / 0.5357 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.4232, allocations: 83.97 kB / 0.5358 GB, free: 0.6523 MB / 446.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.2088/0.632, allocations: 1.159 MB / 0.5369 GB, free: 97.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009346/0.6329, allocations: 271.2 kB / 0.5372 GB, free: 97.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/0.6386, allocations: 2.869 MB / 0.54 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/0.6386, allocations: 19.42 kB / 0.54 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.6386, allocations: 13.75 kB / 0.54 GB, free: 97.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.6386, allocations: 8.391 kB / 0.54 GB, free: 97.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/0.6484, allocations: 6.314 MB / 0.5462 GB, free: 94.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.6484, allocations: 0 / 0.5462 GB, free: 94.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.6496, allocations: 277.7 kB / 0.5465 GB, free: 94.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.651, allocations: 0.6252 MB / 0.5471 GB, free: 94.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.6511, allocations: 45.88 kB / 0.5471 GB, free: 94.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009265/0.6604, allocations: 11.02 MB / 0.5579 GB, free: 86.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6604, allocations: 7.812 kB / 0.5579 GB, free: 86.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006079/0.6665, allocations: 4.155 MB / 0.5619 GB, free: 84.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.6677, allocations: 0.4889 MB / 0.5624 GB, free: 84.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.668, allocations: 35.52 kB / 0.5624 GB, free: 83.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.6691, allocations: 86.83 kB / 0.5625 GB, free: 83.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.6694, allocations: 151.9 kB / 0.5627 GB, free: 83.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6695, allocations: 52.05 kB / 0.5627 GB, free: 83.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002062/0.6715, allocations: 1.867 MB / 0.5645 GB, free: 81.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6715, allocations: 0 / 0.5645 GB, free: 81.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002051/0.6736, allocations: 0.7012 MB / 0.5652 GB, free: 81.13 MB / 446.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.001519/0.6751, allocations: 451.1 kB / 0.5657 GB, free: 80.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004151/0.6792, allocations: 2.73 MB / 0.5683 GB, free: 78.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6792, allocations: 0.6875 kB / 0.5683 GB, free: 78.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.6816, allocations: 1.852 MB / 0.5701 GB, free: 76.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.6841, allocations: 0.5952 MB / 0.5707 GB, free: 75.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/0.6937, allocations: 7.205 MB / 0.5778 GB, free: 68.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.6954, allocations: 2.64 MB / 0.5803 GB, free: 65.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.6968, allocations: 0.5008 MB / 0.5808 GB, free: 65.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.6972, allocations: 175.4 kB / 0.581 GB, free: 65.09 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6972, allocations: 0 / 0.581 GB, free: 65.09 MB / 446.1 MB Notification: Performance of Templates: time 0.05386/0.751, allocations: 37.81 MB / 0.6179 GB, free: 27.69 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.617634278954938]