Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.558e-05, allocations: 2.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01598/0.016, allocations: 11.28 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.02488, allocations: 4.029 MB / 282.7 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.02659, allocations: 95.44 kB / 282.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.0295, allocations: 0.9782 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.03352, allocations: 1.335 MB / 285.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.03553, allocations: 0.821 MB / 285.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1155/0.1511, allocations: 4.064 MB / 289.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.1537, allocations: 1.706 MB / 291.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.1583, allocations: 2.757 MB / 294.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.1615, allocations: 1.753 MB / 296.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009113/0.1624, allocations: 0.4974 MB / 296.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.1638, allocations: 0.6819 MB / 297.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009412/0.1648, allocations: 1.135 MB / 298.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.1669, allocations: 1.409 MB / 299.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.1724, allocations: 6.675 MB / 306.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1724, allocations: 0 / 306.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1724, allocations: 0 / 306.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001113/0.1725, allocations: 0 / 306.6 MB, free: 12.45 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.008848/0.1814, allocations: 4.275 MB / 310.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1814, allocations: 11.64 kB / 310.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.1855, allocations: 1.23 MB / 312.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/0.1892, allocations: 2.42 MB / 314.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1893, allocations: 230 kB / 314.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.1898, allocations: 323.9 kB / 315 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005951/0.1957, allocations: 4.374 MB / 319.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/0.1958, allocations: 7.891 kB / 319.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.1961, allocations: 128 kB / 319.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.1962, allocations: 153.6 kB / 319.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/0.2017, allocations: 3.597 MB / 323.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.2232, allocations: 11.38 MB / 334.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/0.2293, allocations: 2.608 MB / 337.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.2317, allocations: 1.25 MB / 338.5 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006466/0.2381, allocations: 3.116 MB / 341.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.2382, allocations: 47.56 kB / 341.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.876e-06/0.2382, allocations: 4 kB / 341.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.01157/0.2498, allocations: 4.84 MB / 346.5 MB, free: 8.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.2498, allocations: 68.06 kB / 346.6 MB, free: 7.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.2523, allocations: 1.508 MB / 348.1 MB, free: 6.453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.544e-05/0.2524, allocations: 49.7 kB / 348.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.2537, allocations: 1.452 MB / 349.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/0.2542, allocations: 441 kB / 350 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.2547, allocations: 287.4 kB / 350.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2549, allocations: 305.1 kB / 350.6 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.2561, allocations: 0.6442 MB / 351.3 MB, free: 3.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.2579, allocations: 1.141 MB / 352.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.2609, allocations: 1.865 MB / 354.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.261, allocations: 8 kB / 354.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004491/0.2654, allocations: 2.311 MB / 356.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.2655, allocations: 12 kB / 356.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.2655, allocations: 12 kB / 356.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.2666, allocations: 317.9 kB / 356.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.268, allocations: 351.5 kB / 357.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.2747, allocations: 5.791 MB / 363.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.276, allocations: 76.2 kB / 363.1 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.2761, allocations: 67.94 kB / 363.2 MB, free: 6.836 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.002084/0.2782, allocations: 0.9956 MB / 364.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000463/0.2787, allocations: 210.9 kB / 364.4 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.2829, allocations: 1.953 MB / 366.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.2829, allocations: 12 kB / 366.4 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2829, allocations: 4 kB / 366.4 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.2829, allocations: 7.984 kB / 366.4 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/0.2911, allocations: 3.975 MB / 370.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.2911, allocations: 4 kB / 370.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.292, allocations: 163.1 kB / 370.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.2937, allocations: 0.5136 MB / 371 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-05/0.2938, allocations: 35.98 kB / 371.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.3066, allocations: 10.34 MB / 381.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3066, allocations: 0 / 381.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.3124, allocations: 2.864 MB / 384.3 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/0.3133, allocations: 330.4 kB / 384.6 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.3135, allocations: 32 kB / 384.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/0.3144, allocations: 63.94 kB / 384.7 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.3146, allocations: 99.34 kB / 384.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.3147, allocations: 35.98 kB / 384.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001874/0.3166, allocations: 1.017 MB / 385.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3166, allocations: 0 / 385.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002102/0.3187, allocations: 0.539 MB / 386.4 MB, free: 15.19 MB / 346.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.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.0003502/0.319, allocations: 170.5 kB / 386.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.3229, allocations: 1.945 MB / 388.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3229, allocations: 0 / 388.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.3255, allocations: 1.473 MB / 390 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.3276, allocations: 415.7 kB / 390.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3382, allocations: 5.446 MB / 395.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.3405, allocations: 1.727 MB / 397.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.3418, allocations: 366.1 kB / 397.9 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.3422, allocations: 112.5 kB / 398 MB, free: 3.441 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3422, allocations: 0 / 398 MB, free: 3.441 MB / 346.7 MB Notification: Performance of Templates: time 0.05031/0.3925, allocations: 24.93 MB / 422.9 MB, free: 10.98 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.65402193099726]