Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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.00152/0.00152, allocations: 83.7 kB / 21.99 MB, free: 4.754 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.001332/0.001332, allocations: 157.4 kB / 25.24 MB, free: 2.746 MB / 14.72 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.312/1.312, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 51.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2035, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01409/0.2176, allocations: 11.18 MB / 359.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00795/0.2255, allocations: 4.07 MB / 363.8 MB, free: 212 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.2271, allocations: 87.44 kB / 363.9 MB, free: 124 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.2297, allocations: 0.963 MB / 364.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.2332, allocations: 1.247 MB / 366.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.2352, allocations: 0.8573 MB / 366.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004675/0.2398, allocations: 3.888 MB / 370.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.2422, allocations: 1.678 MB / 372.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.2449, allocations: 1.885 MB / 374.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.2481, allocations: 1.961 MB / 376.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007039/0.2488, allocations: 0.5 MB / 376.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.2502, allocations: 0.6794 MB / 377.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.2513, allocations: 1.114 MB / 378.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.2533, allocations: 1.634 MB / 380.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00722/0.2606, allocations: 6.625 MB / 386.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2606, allocations: 0 / 386.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.871e-06/0.2606, allocations: 11.98 kB / 386.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001197/0.2607, allocations: 0 / 386.9 MB, free: 8.934 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01146/0.2722, allocations: 4.31 MB / 391.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2722, allocations: 11.98 kB / 391.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004286/0.2765, allocations: 0.8261 MB / 392.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.2809, allocations: 2.165 MB / 394.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.2811, allocations: 238.4 kB / 394.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.2816, allocations: 319.9 kB / 394.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007736/0.2893, allocations: 4.373 MB / 399.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.2894, allocations: 0 / 399.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.2897, allocations: 128 kB / 399.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/0.2898, allocations: 150.3 kB / 399.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006696/0.2965, allocations: 3.589 MB / 403 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/0.3166, allocations: 11.18 MB / 414.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005423/0.322, allocations: 2.599 MB / 416.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.3242, allocations: 1.235 MB / 418 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006213/0.3304, allocations: 3.072 MB / 421.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.3304, allocations: 51.56 kB / 421.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.347e-06/0.3304, allocations: 0 / 421.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01113/0.3415, allocations: 4.767 MB / 425.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3416, allocations: 64.41 kB / 426 MB, free: 1.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.344, allocations: 1.516 MB / 427.5 MB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.3441, allocations: 45.7 kB / 427.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.3452, allocations: 1.453 MB / 429 MB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.3456, allocations: 456.2 kB / 429.4 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.346, allocations: 283.4 kB / 429.7 MB, free: 13.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3462, allocations: 305.1 kB / 430 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3473, allocations: 0.6442 MB / 430.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.3489, allocations: 1.132 MB / 431.8 MB, free: 11.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.3518, allocations: 1.871 MB / 433.6 MB, free: 9.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.3518, allocations: 7.938 kB / 433.6 MB, free: 9.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004077/0.3558, allocations: 2.221 MB / 435.9 MB, free: 7.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3559, allocations: 12 kB / 435.9 MB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3559, allocations: 19.94 kB / 435.9 MB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.3566, allocations: 271.5 kB / 436.2 MB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.358, allocations: 351.4 kB / 436.5 MB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.3639, allocations: 5.78 MB / 442.3 MB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.365, allocations: 76.2 kB / 442.4 MB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.3651, allocations: 68 kB / 442.4 MB, free: 140 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001894/0.367, allocations: 0.9969 MB / 443.4 MB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.3673, allocations: 178.9 kB / 443.6 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.3713, allocations: 1.936 MB / 445.5 MB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.3713, allocations: 15.94 kB / 445.6 MB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3713, allocations: 8 kB / 445.6 MB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3714, allocations: 7.969 kB / 445.6 MB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/0.3784, allocations: 3.96 MB / 449.5 MB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3785, allocations: 3.938 kB / 449.5 MB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.3792, allocations: 167.8 kB / 449.7 MB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.3804, allocations: 452.2 kB / 450.1 MB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.3805, allocations: 40.05 kB / 450.2 MB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.3919, allocations: 10.28 MB / 460.5 MB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3919, allocations: 3.938 kB / 460.5 MB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.3972, allocations: 2.806 MB / 463.3 MB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.398, allocations: 318.8 kB / 463.6 MB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3982, allocations: 35.94 kB / 463.6 MB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.399, allocations: 67.94 kB / 463.7 MB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.3993, allocations: 104.7 kB / 463.8 MB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.3994, allocations: 36 kB / 463.8 MB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.401, allocations: 1.021 MB / 464.8 MB, free: 9.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.401, allocations: 0 / 464.8 MB, free: 9.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002001/0.403, allocations: 0.5351 MB / 465.4 MB, free: 8.484 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,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 (86): * Single equations (assignments): 81 * 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 {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003056/0.4033, allocations: 154.9 kB / 465.5 MB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.4068, allocations: 1.939 MB / 467.5 MB, free: 6.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4068, allocations: 0.5 kB / 467.5 MB, free: 6.344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.4093, allocations: 1.483 MB / 468.9 MB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.4111, allocations: 417.4 kB / 469.4 MB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1736/0.5847, allocations: 5.536 MB / 474.9 MB, free: 106.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.5867, allocations: 1.731 MB / 476.6 MB, free: 106.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.5879, allocations: 359.8 kB / 477 MB, free: 106.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.5881, allocations: 111.9 kB / 477.1 MB, free: 106.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5881, allocations: 0 / 477.1 MB, free: 106.5 MB / 430.1 MB Notification: Performance of Templates: time 0.03564/0.6238, allocations: 24.95 MB / 0.4903 GB, free: 88.25 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.383851725026034]