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.001354/0.001354, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001543/0.001543, allocations: 173.6 kB / 25.33 MB, free: 8.008 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.9011/0.9011, allocations: 158.6 MB / 187.2 MB, free: 2.922 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|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|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.[0-9,]+.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.462e-05, allocations: 2.312 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.0101/0.01012, allocations: 12.64 MB / 263.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006641/0.01676, allocations: 4.214 MB / 267.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.01777, allocations: 87.44 kB / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.01968, allocations: 0.9669 MB / 269 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.02167, allocations: 1.3 MB / 270.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.02279, allocations: 0.8688 MB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.02572, allocations: 4.057 MB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.02766, allocations: 1.69 MB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.03039, allocations: 2.877 MB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.03201, allocations: 1.898 MB / 281.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003993/0.0324, allocations: 0.4922 MB / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.03324, allocations: 0.6793 MB / 282.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009029/0.03414, allocations: 1.13 MB / 284 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.03519, allocations: 1.415 MB / 285.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.03784, allocations: 3.357 MB / 288.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.03785, allocations: 0 / 288.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.03785, allocations: 0 / 288.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.03787, allocations: 4 kB / 288.7 MB, free: 1.594 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.005994/0.04387, allocations: 4.507 MB / 293.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.04391, allocations: 19.97 kB / 293.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.04637, allocations: 1.228 MB / 294.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.04855, allocations: 2.086 MB / 296.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.04867, allocations: 230.6 kB / 296.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.04897, allocations: 316.3 kB / 297.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.05248, allocations: 2.535 MB / 299.7 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/0.05253, allocations: 7.953 kB / 299.7 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.05272, allocations: 132 kB / 299.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.837e-05/0.05282, allocations: 150.3 kB / 299.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.05493, allocations: 1.184 MB / 301.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009905/0.06484, allocations: 10.31 MB / 311.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.06765, allocations: 1.993 MB / 313.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/0.06853, allocations: 0.6939 MB / 314.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002689/0.07122, allocations: 2.366 MB / 316.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.07125, allocations: 54.33 kB / 316.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.715e-06/0.07126, allocations: 0 / 316.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.004787/0.07604, allocations: 3.146 MB / 319.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.07607, allocations: 68.34 kB / 319.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.07725, allocations: 1.32 MB / 321.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.07731, allocations: 45.7 kB / 321.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/0.07798, allocations: 1.538 MB / 322.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.07821, allocations: 464.2 kB / 323.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.0785, allocations: 305.1 kB / 323.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.0786, allocations: 484.8 kB / 323.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.07897, allocations: 219.8 kB / 324.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.07963, allocations: 0.9223 MB / 325 MB, free: 12.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.08105, allocations: 1.249 MB / 326.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.08106, allocations: 4 kB / 326.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001641/0.0827, allocations: 1.417 MB / 327.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.08272, allocations: 8 kB / 327.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.08274, allocations: 16 kB / 327.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/0.0832, allocations: 230.3 kB / 327.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.08389, allocations: 355.4 kB / 328.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/0.08725, allocations: 6.534 MB / 334.8 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.08772, allocations: 63.92 kB / 334.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.0878, allocations: 72 kB / 334.9 MB, free: 1.828 MB / 314.7 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.0004645/0.08826, allocations: 256.2 kB / 335.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.08844, allocations: 210.9 kB / 335.4 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.08996, allocations: 1.188 MB / 336.6 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.08997, allocations: 12 kB / 336.6 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.08997, allocations: 4 kB / 336.6 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.08998, allocations: 11.91 kB / 336.6 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/0.09357, allocations: 3.325 MB / 339.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.09357, allocations: 0 / 339.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.0942, allocations: 163.8 kB / 340.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007429/0.09494, allocations: 400.5 kB / 340.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.09499, allocations: 39.92 kB / 340.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/0.1007, allocations: 11.45 MB / 352 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1007, allocations: 4 kB / 352 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1127/0.2134, allocations: 1.618 MB / 353.6 MB, free: 80.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.2138, allocations: 307.9 kB / 353.9 MB, free: 80.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.214, allocations: 33.69 kB / 353.9 MB, free: 80.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2144, allocations: 52.8 kB / 354 MB, free: 80.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.2146, allocations: 106.7 kB / 354.1 MB, free: 80.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.2146, allocations: 32.16 kB / 354.1 MB, free: 80.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007355/0.2153, allocations: 0.7555 MB / 354.9 MB, free: 80.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2153, allocations: 0 / 354.9 MB, free: 80.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001306/0.2166, allocations: 0.5334 MB / 355.4 MB, free: 80.11 MB / 330.7 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,8,100.0%), (1,13,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.0002291/0.2169, allocations: 156.5 kB / 355.6 MB, free: 80.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.2183, allocations: 1.449 MB / 357 MB, free: 79.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2183, allocations: 0 / 357 MB, free: 79.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.2192, allocations: 1.493 MB / 358.5 MB, free: 78.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2202, allocations: 419.6 kB / 358.9 MB, free: 78.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.2255, allocations: 4.826 MB / 363.7 MB, free: 76.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.226, allocations: 0.7757 MB / 364.5 MB, free: 76.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005664/0.2266, allocations: 309.9 kB / 364.8 MB, free: 76.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.2268, allocations: 117.7 kB / 364.9 MB, free: 76.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2268, allocations: 3.625 kB / 364.9 MB, free: 76.3 MB / 330.7 MB Notification: Performance of Templates: time 0.02872/0.2555, allocations: 25.79 MB / 390.7 MB, free: 56.34 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4458946171216667]