Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.001488/0.001488, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.001518/0.001518, allocations: 164.2 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AIMC_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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 250.4 MB, free: 3.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.924e-05, allocations: 2.312 kB / 250.4 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses): time 0.01799/0.01802, allocations: 11.91 MB / 262.3 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.02965, allocations: 4.639 MB / 267 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.03258, allocations: 83.44 kB / 267 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003992/0.03658, allocations: 1.036 MB / 268.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005774/0.04235, allocations: 1.425 MB / 269.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.04534, allocations: 0.9767 MB / 270.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007238/0.05258, allocations: 4.525 MB / 275 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003544/0.05612, allocations: 1.747 MB / 276.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006105/0.06223, allocations: 2.994 MB / 279.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004812/0.06704, allocations: 1.944 MB / 281.7 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.06825, allocations: 0.5312 MB / 282.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.0706, allocations: 0.8858 MB / 283.1 MB, free: 3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.07223, allocations: 1.406 MB / 284.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002748/0.07498, allocations: 1.563 MB / 286.1 MB, free: 24 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.08505, allocations: 7.397 MB / 293.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.08506, allocations: 0 / 293.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08506, allocations: 0 / 293.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000169/0.08523, allocations: 0 / 293.5 MB, free: 8.602 MB / 282.7 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.01439/0.09962, allocations: 4.963 MB / 298.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.09967, allocations: 15.98 kB / 298.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/0.1049, allocations: 1.325 MB / 299.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1464/0.2514, allocations: 2.637 MB / 302.4 MB, free: 53.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.2516, allocations: 251.5 kB / 302.7 MB, free: 53.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009685/0.2526, allocations: 339.5 kB / 303 MB, free: 53.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009327/0.2619, allocations: 4.7 MB / 307.7 MB, free: 51.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.77e-05/0.262, allocations: 6.188 kB / 307.7 MB, free: 51.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.2623, allocations: 134.5 kB / 307.8 MB, free: 51.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.2625, allocations: 155.3 kB / 308 MB, free: 51.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007326/0.2699, allocations: 3.899 MB / 311.9 MB, free: 49.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.2895, allocations: 12.35 MB / 324.2 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005225/0.2948, allocations: 2.969 MB / 327.2 MB, free: 37.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/0.2971, allocations: 1.578 MB / 328.8 MB, free: 36.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005805/0.3029, allocations: 3.609 MB / 332.4 MB, free: 32.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.303, allocations: 55.86 kB / 332.4 MB, free: 32.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 3.777e-06/0.303, allocations: 0 / 332.4 MB, free: 32.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=185): time 0.01533/0.3183, allocations: 7.511 MB / 340 MB, free: 25.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3183, allocations: 69.41 kB / 340 MB, free: 25.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.321, allocations: 2.426 MB / 342.5 MB, free: 22.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.3212, allocations: 57.7 kB / 342.5 MB, free: 22.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008531/0.3221, allocations: 1.663 MB / 344.2 MB, free: 21.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.3225, allocations: 0.6494 MB / 344.8 MB, free: 20.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/0.323, allocations: 331.5 kB / 345.1 MB, free: 20.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.323, allocations: 301.1 kB / 345.4 MB, free: 19.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.3244, allocations: 0.9097 MB / 346.3 MB, free: 18.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.3259, allocations: 1.327 MB / 347.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.3287, allocations: 2.359 MB / 350 MB, free: 14.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3287, allocations: 0 / 350 MB, free: 14.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.004902/0.3336, allocations: 3.129 MB / 353.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.3336, allocations: 11.98 kB / 353.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.3336, allocations: 12 kB / 353.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.3354, allocations: 0.6413 MB / 353.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.3371, allocations: 435.3 kB / 354.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/0.3445, allocations: 7.238 MB / 361.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.3462, allocations: 92 kB / 361.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.3463, allocations: 76.05 kB / 361.7 MB, free: 3.062 MB / 282.7 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%), (8,33,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001627/0.348, allocations: 1.153 MB / 362.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005504/0.3485, allocations: 317.8 kB / 363.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.3541, allocations: 2.85 MB / 366 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.3542, allocations: 20 kB / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.3542, allocations: 8 kB / 366 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.3542, allocations: 7.969 kB / 366 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.3661, allocations: 5.471 MB / 371.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3661, allocations: 0 / 371.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.3676, allocations: 279.7 kB / 371.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/0.3701, allocations: 0.7361 MB / 372.5 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.3703, allocations: 43.97 kB / 372.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.3861, allocations: 10.84 MB / 383.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3861, allocations: 0 / 383.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008806/0.3949, allocations: 4.191 MB / 387.6 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/0.3966, allocations: 466.2 kB / 388 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.397, allocations: 39.98 kB / 388.1 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.3982, allocations: 75.94 kB / 388.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/0.3986, allocations: 149.7 kB / 388.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.3988, allocations: 55.98 kB / 388.3 MB, free: 7.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002815/0.4016, allocations: 1.685 MB / 390 MB, free: 6.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4016, allocations: 0 / 390 MB, free: 6.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002687/0.4043, allocations: 0.6988 MB / 390.7 MB, free: 5.496 MB / 314.7 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.strayReluctance.Phi.re,aimc.stator.strayReluctance.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.002099/0.4064, allocations: 473 kB / 391.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006215/0.4126, allocations: 2.746 MB / 393.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4126, allocations: 4 kB / 393.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003901/0.4165, allocations: 1.84 MB / 395.8 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.4191, allocations: 0.5079 MB / 396.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.433, allocations: 7.072 MB / 403.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.4359, allocations: 2.067 MB / 405.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001828/0.4377, allocations: 491 kB / 405.9 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.4382, allocations: 156.5 kB / 406 MB, free: 6.027 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4382, allocations: 4 kB / 406 MB, free: 6.023 MB / 330.7 MB Notification: Performance of Templates: time 0.07422/0.5125, allocations: 35.12 MB / 441.2 MB, free: 2.84 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.stator.zeroInductor.i0 in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses_res.mat. Warning: Get data of variable aimc.stator.zeroInductor.i0 from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses_res.mat failed! " [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.326222953968681]