Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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.002532/0.002532, allocations: 103.5 kB / 21.74 MB, free: 2.684 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.002719/0.002719, allocations: 163.3 kB / 25.03 MB, free: 8.414 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.419/1.419, allocations: 158.6 MB / 186.8 MB, free: 2.91 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|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.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|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.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.759e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01796/0.01798, allocations: 12.59 MB / 263 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.0273, allocations: 4.214 MB / 267.2 MB, free: 6.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.02911, allocations: 79.5 kB / 267.3 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.03181, allocations: 0.9705 MB / 268.2 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.0358, allocations: 1.316 MB / 269.6 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.03795, allocations: 0.865 MB / 270.4 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006085/0.04403, allocations: 4.236 MB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.04687, allocations: 1.69 MB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.05181, allocations: 2.842 MB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.05587, allocations: 1.976 MB / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.05695, allocations: 0.5078 MB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.05866, allocations: 0.7027 MB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.05997, allocations: 1.188 MB / 283.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.06246, allocations: 1.454 MB / 285 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009804/0.07227, allocations: 6.848 MB / 291.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.07227, allocations: 0 / 291.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.07227, allocations: 4 kB / 291.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001642/0.07244, allocations: 0 / 291.9 MB, free: 14.11 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01375/0.08619, allocations: 5.026 MB / 296.9 MB, free: 9.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.08623, allocations: 11.98 kB / 296.9 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/0.09141, allocations: 1.24 MB / 298.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/0.09706, allocations: 2.192 MB / 300.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.09732, allocations: 230.6 kB / 300.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/0.09802, allocations: 320.3 kB / 300.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009049/0.1071, allocations: 4.479 MB / 305.4 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-05/0.1072, allocations: 7.891 kB / 305.4 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.1075, allocations: 128 kB / 305.5 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.1077, allocations: 142.2 kB / 305.6 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007033/0.1147, allocations: 3.245 MB / 308.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/0.1511, allocations: 21.07 MB / 329.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005769/0.1569, allocations: 2.405 MB / 332.3 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.1594, allocations: 1.186 MB / 333.5 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007659/0.1671, allocations: 3.107 MB / 336.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.1672, allocations: 46.39 kB / 336.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=124): time 3.486e-06/0.1672, allocations: 0 / 336.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=144): time 0.01496/0.1821, allocations: 5.456 MB / 342.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.1822, allocations: 76.66 kB / 342.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.1858, allocations: 2.107 MB / 344.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.1859, allocations: 45.7 kB / 344.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.1876, allocations: 1.676 MB / 346 MB, free: 6.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.1883, allocations: 0.5737 MB / 346.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/0.189, allocations: 409.1 kB / 347 MB, free: 5.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.1893, allocations: 476.8 kB / 347.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.1905, allocations: 0.6012 MB / 348.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.1928, allocations: 1.357 MB / 349.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.1962, allocations: 2.134 MB / 351.6 MB, free: 292 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.1962, allocations: 8 kB / 351.6 MB, free: 284 kB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.1256/0.3218, allocations: 2.403 MB / 354 MB, free: 95.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.3218, allocations: 11.62 kB / 354 MB, free: 95.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.3218, allocations: 15.7 kB / 354 MB, free: 95.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.3236, allocations: 0.5613 MB / 354.6 MB, free: 95.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.325, allocations: 394.5 kB / 355 MB, free: 95.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00699/0.332, allocations: 7.323 MB / 362.3 MB, free: 91.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.3335, allocations: 78.02 kB / 362.4 MB, free: 91.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.3336, allocations: 71.08 kB / 362.4 MB, free: 91.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * 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,1,100.0%), (7,31,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001446/0.335, allocations: 0.9495 MB / 363.4 MB, free: 91.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/0.3355, allocations: 235.2 kB / 363.6 MB, free: 91.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.3389, allocations: 2.032 MB / 365.6 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.3389, allocations: 12.53 kB / 365.7 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3389, allocations: 10.94 kB / 365.7 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3389, allocations: 7.969 kB / 365.7 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00799/0.3469, allocations: 5.414 MB / 371.1 MB, free: 87.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3469, allocations: 0 / 371.1 MB, free: 87.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.3478, allocations: 217.2 kB / 371.3 MB, free: 87.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.3493, allocations: 0.5628 MB / 371.9 MB, free: 86.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-05/0.3494, allocations: 35.98 kB / 371.9 MB, free: 86.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/0.3576, allocations: 13.24 MB / 385.1 MB, free: 73.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3576, allocations: 4 kB / 385.1 MB, free: 73.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/0.362, allocations: 3.011 MB / 388.1 MB, free: 70.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.3631, allocations: 346.7 kB / 388.5 MB, free: 69.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.3633, allocations: 32 kB / 388.5 MB, free: 69.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/0.3643, allocations: 63.95 kB / 388.6 MB, free: 69.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.3645, allocations: 118.3 kB / 388.7 MB, free: 69.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.3646, allocations: 39.98 kB / 388.7 MB, free: 69.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.3661, allocations: 1.214 MB / 390 MB, free: 68.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3661, allocations: 0 / 390 MB, free: 68.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002063/0.3682, allocations: 0.5931 MB / 390.5 MB, free: 67.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003388/0.3685, allocations: 157.2 kB / 390.7 MB, free: 67.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003374/0.3719, allocations: 2.317 MB / 393 MB, free: 65.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3719, allocations: 0 / 393 MB, free: 65.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.3739, allocations: 1.893 MB / 394.9 MB, free: 63.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.376, allocations: 435.6 kB / 395.3 MB, free: 62.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007912/0.3839, allocations: 5.622 MB / 401 MB, free: 57.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.3853, allocations: 1.705 MB / 402.7 MB, free: 55.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.3863, allocations: 331.2 kB / 403 MB, free: 55.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.3867, allocations: 124.5 kB / 403.1 MB, free: 54.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3867, allocations: 0 / 403.1 MB, free: 54.95 MB / 330.7 MB Notification: Performance of Templates: time 0.03944/0.4261, allocations: 28.66 MB / 431.8 MB, free: 26.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize_res.mat. Warning: Get data of variable aimc.stator.zeroInductor.i0 from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.817002992029302]