Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001895/0.001895, allocations: 92.31 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.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.002401/0.002401, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.256e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01746/0.01749, allocations: 11.8 MB / 284.1 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009934/0.02743, allocations: 4.283 MB / 288.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.02952, allocations: 95.44 kB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.03287, allocations: 0.986 MB / 289.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1223/0.1552, allocations: 1.314 MB / 290.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.1578, allocations: 0.8795 MB / 291.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005185/0.163, allocations: 4.12 MB / 295.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.1656, allocations: 1.712 MB / 297.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004789/0.1704, allocations: 2.769 MB / 300.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.1734, allocations: 1.765 MB / 302.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008635/0.1742, allocations: 0.5009 MB / 302.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.1758, allocations: 0.7055 MB / 303.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007152/0.1765, allocations: 1.133 MB / 304.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.178, allocations: 1.408 MB / 305.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.183, allocations: 6.705 MB / 312.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.183, allocations: 0 / 312.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.183, allocations: 3.438 kB / 312.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.1831, allocations: 0 / 312.5 MB, free: 6.59 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.009608/0.1927, allocations: 4.315 MB / 316.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1928, allocations: 16.03 kB / 316.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.1971, allocations: 1.211 MB / 318.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/0.2016, allocations: 2.436 MB / 320.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.2019, allocations: 234.6 kB / 320.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007516/0.2026, allocations: 315.7 kB / 321 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009039/0.2117, allocations: 4.385 MB / 325.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.95e-05/0.2118, allocations: 10.08 kB / 325.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/0.2121, allocations: 128 kB / 325.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/0.2123, allocations: 146.3 kB / 325.7 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/0.2195, allocations: 3.613 MB / 329.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02282/0.2424, allocations: 11.4 MB / 340.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005822/0.2482, allocations: 2.662 MB / 343.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.2514, allocations: 1.52 MB / 344.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007408/0.2589, allocations: 3.376 MB / 348.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.2589, allocations: 47.56 kB / 348.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.905e-06/0.2589, allocations: 0 / 348.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.01206/0.271, allocations: 5.019 MB / 353.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.271, allocations: 72.16 kB / 353.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.2738, allocations: 1.529 MB / 354.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.2739, allocations: 45.7 kB / 355 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.2753, allocations: 1.463 MB / 356.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.2757, allocations: 447.2 kB / 356.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/0.2762, allocations: 283.5 kB / 357.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2764, allocations: 305.1 kB / 357.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.2777, allocations: 0.6598 MB / 358.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.2795, allocations: 1.152 MB / 359.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.2829, allocations: 1.9 MB / 361.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.2829, allocations: 4 kB / 361.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004594/0.2875, allocations: 2.386 MB / 363.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.2875, allocations: 12 kB / 363.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.2875, allocations: 20.28 kB / 363.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.2886, allocations: 360.7 kB / 363.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.29, allocations: 345.4 kB / 364.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008002/0.298, allocations: 6.21 MB / 370.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.2993, allocations: 71.86 kB / 370.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.2994, allocations: 75.98 kB / 370.6 MB, free: 12.56 MB / 330.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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.3013, allocations: 0.9949 MB / 371.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.3017, allocations: 210.9 kB / 371.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/0.3061, allocations: 2.027 MB / 373.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3062, allocations: 16 kB / 373.9 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3062, allocations: 8 kB / 373.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3062, allocations: 3.984 kB / 373.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/0.3143, allocations: 4.099 MB / 378 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3143, allocations: 0 / 378 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.3151, allocations: 170.5 kB / 378.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.3169, allocations: 0.564 MB / 378.7 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.317, allocations: 35.98 kB / 378.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.3304, allocations: 10.76 MB / 389.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3304, allocations: 0 / 389.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006222/0.3367, allocations: 2.961 MB / 392.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/0.3376, allocations: 326.7 kB / 392.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.3378, allocations: 35.98 kB / 392.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.3386, allocations: 63.95 kB / 392.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.3389, allocations: 108.2 kB / 393 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.339, allocations: 35.98 kB / 393 MB, free: 5.707 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001795/0.3408, allocations: 1.029 MB / 394.1 MB, free: 4.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3408, allocations: 0 / 394.1 MB, free: 4.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002047/0.3429, allocations: 0.5429 MB / 394.6 MB, free: 4.137 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 (83): * Single equations (assignments): 78 * 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,8,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.0003653/0.3432, allocations: 168.8 kB / 394.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.347, allocations: 1.993 MB / 396.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.347, allocations: 0 / 396.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.3498, allocations: 1.508 MB / 398.3 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.3517, allocations: 431.3 kB / 398.7 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3617, allocations: 5.47 MB / 404.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.3641, allocations: 1.728 MB / 405.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.3652, allocations: 354.4 kB / 406.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.3655, allocations: 120.5 kB / 406.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3655, allocations: 0 / 406.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of Templates: time 0.1567/0.5223, allocations: 25.64 MB / 432 MB, free: 119.4 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.720749102998525]