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.001468/0.001468, allocations: 85.95 kB / 23 MB, free: 1.504 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.00176/0.00176, allocations: 175.6 kB / 26.39 MB, free: 7.988 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 0.9082/0.9082, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.733e-06/1.733e-06, allocations: 0 / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.419e-05, allocations: 10.19 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01473/0.01475, allocations: 12.32 MB / 264.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008885/0.02364, allocations: 4.19 MB / 268.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.02526, allocations: 87.44 kB / 268.9 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.02773, allocations: 0.9631 MB / 269.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.03208, allocations: 1.316 MB / 271.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.03449, allocations: 0.8568 MB / 272 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005423/0.03992, allocations: 4.229 MB / 276.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.04193, allocations: 1.698 MB / 277.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.04528, allocations: 2.936 MB / 280.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.04767, allocations: 1.964 MB / 282.8 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006523/0.04833, allocations: 0.5078 MB / 283.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.04945, allocations: 0.6988 MB / 284 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.05026, allocations: 1.176 MB / 285.2 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.0517, allocations: 1.446 MB / 286.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.05492, allocations: 3.435 MB / 290.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.05492, allocations: 0 / 290.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.05492, allocations: 0 / 290.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.962e-05/0.05499, allocations: 0 / 290.1 MB, free: 1.215 MB / 266.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.006198/0.06119, allocations: 4.499 MB / 294.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.06123, allocations: 11.98 kB / 294.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.06388, allocations: 1.162 MB / 295.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.06644, allocations: 2.036 MB / 297.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.06658, allocations: 234.6 kB / 298 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/0.06698, allocations: 320.2 kB / 298.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.07056, allocations: 2.312 MB / 300.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.638e-05/0.07063, allocations: 11.92 kB / 300.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.07083, allocations: 124 kB / 300.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.07096, allocations: 146.2 kB / 300.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.07273, allocations: 0.9053 MB / 301.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.08534, allocations: 10.51 MB / 312.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.08758, allocations: 1.778 MB / 314.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.08845, allocations: 0.6586 MB / 314.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003427/0.09187, allocations: 2.221 MB / 317 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.09191, allocations: 46.39 kB / 317 MB, free: 5.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.617e-06/0.09191, allocations: 3.938 kB / 317 MB, free: 5.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.006503/0.09841, allocations: 3.397 MB / 320.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000292/0.09871, allocations: 68.66 kB / 320.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.1005, allocations: 1.392 MB / 321.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.736e-05/0.1006, allocations: 53.7 kB / 322 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.1017, allocations: 1.578 MB / 323.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.1021, allocations: 0.5229 MB / 324.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.1026, allocations: 337 kB / 324.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1028, allocations: 476.8 kB / 324.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.1032, allocations: 207.8 kB / 325.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.1039, allocations: 0.8842 MB / 325.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.1049, allocations: 1.205 MB / 327.1 MB, free: 11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.1049, allocations: 4 kB / 327.1 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002028/0.1069, allocations: 1.467 MB / 328.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.107, allocations: 8 kB / 328.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.107, allocations: 16 kB / 328.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/0.1079, allocations: 426.8 kB / 329.1 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.1087, allocations: 371.4 kB / 329.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.113, allocations: 5.622 MB / 335 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009677/0.1139, allocations: 64.08 kB / 335.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.114, allocations: 55.98 kB / 335.2 MB, free: 2.738 MB / 314.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.000675/0.1147, allocations: 260.1 kB / 335.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.1151, allocations: 226.8 kB / 335.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.1174, allocations: 1.268 MB / 336.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1174, allocations: 16 kB / 336.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1174, allocations: 8 kB / 336.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1175, allocations: 7.969 kB / 336.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.1218, allocations: 3.051 MB / 340 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1218, allocations: 0 / 340 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.1223, allocations: 199.7 kB / 340.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008403/0.1232, allocations: 416 kB / 340.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.1232, allocations: 31.98 kB / 340.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005967/0.1292, allocations: 11.32 MB / 351.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1292, allocations: 4 kB / 351.9 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1168/0.246, allocations: 1.67 MB / 353.6 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/0.2469, allocations: 328.5 kB / 353.9 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.2472, allocations: 30.83 kB / 354 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.2478, allocations: 55.56 kB / 354 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.2481, allocations: 115.8 kB / 354.1 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.2481, allocations: 32.12 kB / 354.2 MB, free: 79.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008549/0.249, allocations: 0.741 MB / 354.9 MB, free: 79.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.249, allocations: 0 / 354.9 MB, free: 79.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001792/0.2508, allocations: 0.5831 MB / 355.5 MB, free: 79.44 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.0002632/0.2511, allocations: 163.2 kB / 355.6 MB, free: 79.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.2531, allocations: 1.513 MB / 357.2 MB, free: 78.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2531, allocations: 1.438 kB / 357.2 MB, free: 78.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.2543, allocations: 1.519 MB / 358.7 MB, free: 78.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.2557, allocations: 432 kB / 359.1 MB, free: 78.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/0.263, allocations: 5.085 MB / 364.2 MB, free: 75.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.2638, allocations: 0.8265 MB / 365 MB, free: 75.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.2645, allocations: 238 kB / 365.2 MB, free: 75.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008152/0.2654, allocations: 486.5 kB / 365.7 MB, free: 75.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2654, allocations: 0 / 365.7 MB, free: 75.7 MB / 330.7 MB Notification: Performance of Templates: time 0.04232/0.3077, allocations: 30.85 MB / 396.6 MB, free: 50.96 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","",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: 3.9133962923660874]