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.0008132/0.0008132, allocations: 87.62 kB / 22.19 MB, free: 2.363 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.0008178/0.0008178, allocations: 165.1 kB / 25.45 MB, free: 8.852 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.8166/0.8166, allocations: 158.6 MB / 187.2 MB, free: 3.027 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.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 3.407e-06/3.407e-06, allocations: 0 / 299.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.327e-05/4.668e-05, allocations: 2.281 kB / 299.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.1381/0.1382, allocations: 11.24 MB / 311 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.1443, allocations: 4.081 MB / 315 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.1456, allocations: 80.88 kB / 315.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.1474, allocations: 0.9634 MB / 316.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.1501, allocations: 1.309 MB / 317.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1515, allocations: 0.8508 MB / 318.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.1552, allocations: 4.237 MB / 322.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.157, allocations: 1.687 MB / 324.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.1601, allocations: 2.815 MB / 327 MB, free: 176 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.162, allocations: 1.811 MB / 328.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005211/0.1625, allocations: 0.5069 MB / 329.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.1636, allocations: 0.6925 MB / 330 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006713/0.1643, allocations: 1.173 MB / 331.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.1655, allocations: 1.44 MB / 332.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.1702, allocations: 6.818 MB / 339.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1702, allocations: 0 / 339.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1702, allocations: 0 / 339.4 MB, free: 6.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.253e-05/0.1702, allocations: 0 / 339.4 MB, free: 6.738 MB / 298.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.005753/0.176, allocations: 4.373 MB / 343.8 MB, free: 2.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.176, allocations: 11.98 kB / 343.8 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.1781, allocations: 0.83 MB / 344.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.1805, allocations: 2.264 MB / 346.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.1806, allocations: 234.6 kB / 347.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.1809, allocations: 316.2 kB / 347.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/0.1855, allocations: 4.409 MB / 351.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.1856, allocations: 3.938 kB / 351.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.1858, allocations: 128 kB / 352 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.439e-05/0.1859, allocations: 146.2 kB / 352.1 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.1896, allocations: 3.64 MB / 355.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.2027, allocations: 11.45 MB / 367.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.2056, allocations: 2.592 MB / 369.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.207, allocations: 1.301 MB / 371.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003686/0.2107, allocations: 3.014 MB / 374.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.2107, allocations: 47.56 kB / 374.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=124): time 2.765e-06/0.2107, allocations: 4 kB / 374.2 MB, free: 3.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=144): time 0.007589/0.2183, allocations: 6.033 MB / 380.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2183, allocations: 72.66 kB / 380.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.2201, allocations: 1.658 MB / 381.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.2201, allocations: 49.7 kB / 382 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/0.2208, allocations: 1.469 MB / 383.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.221, allocations: 0.5152 MB / 384 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.2213, allocations: 307.4 kB / 384.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.2214, allocations: 305.1 kB / 384.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007576/0.2222, allocations: 0.7652 MB / 385.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009558/0.2231, allocations: 1.245 MB / 386.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.2252, allocations: 2.108 MB / 388.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2252, allocations: 4 kB / 388.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002607/0.2278, allocations: 2.625 MB / 391.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.2278, allocations: 15.94 kB / 391.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2278, allocations: 15.98 kB / 391.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.2286, allocations: 0.4978 MB / 391.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.2293, allocations: 391.4 kB / 392.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.2346, allocations: 6.55 MB / 398.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.2352, allocations: 79.91 kB / 398.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.2353, allocations: 68 kB / 398.9 MB, free: 10.09 MB / 362.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.001287/0.2366, allocations: 1.052 MB / 400 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2367, allocations: 186.8 kB / 400.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.2393, allocations: 2.32 MB / 402.5 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2393, allocations: 16 kB / 402.5 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2393, allocations: 4 kB / 402.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.2393, allocations: 7.969 kB / 402.5 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.2442, allocations: 4.6 MB / 407.1 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2443, allocations: 0 / 407.1 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.2447, allocations: 219.7 kB / 407.3 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006916/0.2454, allocations: 0.4999 MB / 407.8 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.2455, allocations: 39.98 kB / 407.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006385/0.2519, allocations: 10.65 MB / 418.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2519, allocations: 0 / 418.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.2554, allocations: 3.392 MB / 421.9 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.2559, allocations: 370.8 kB / 422.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.256, allocations: 28 kB / 422.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.2565, allocations: 67.94 kB / 422.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.2567, allocations: 121 kB / 422.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.2567, allocations: 43.98 kB / 422.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.2578, allocations: 1.129 MB / 423.6 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2578, allocations: 0 / 423.6 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001343/0.2591, allocations: 0.5859 MB / 424.2 MB, free: 92 kB / 378.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.000263/0.2594, allocations: 158.9 kB / 424.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.2623, allocations: 2.325 MB / 426.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2623, allocations: 0 / 426.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.2637, allocations: 1.641 MB / 428.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2647, allocations: 429.5 kB / 428.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.2709, allocations: 5.802 MB / 434.6 MB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.2722, allocations: 1.768 MB / 436.3 MB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.2724, allocations: 132.5 kB / 436.5 MB, free: 3.66 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.2724, allocations: 0 / 436.5 MB, free: 3.66 MB / 394.7 MB Notification: Performance of Templates: time 0.1737/0.4462, allocations: 97.34 MB / 0.5213 GB, free: 96.5 MB / 426.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1) [Timeout 480] 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: 9.335561629384756]