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.00135/0.00135, allocations: 74.56 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001354/0.001354, allocations: 151 kB / 24.48 MB, free: 3.73 MB / 14.72 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.46/1.46, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 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 0.001539/0.001539, allocations: 47.39 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08399, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01448/0.09847, allocations: 11.24 MB / 382.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007433/0.1059, allocations: 4.022 MB / 386.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.1073, allocations: 95.44 kB / 387 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.1096, allocations: 0.963 MB / 387.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.1125, allocations: 1.301 MB / 389.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1143, allocations: 0.8247 MB / 390 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00419/0.1185, allocations: 3.891 MB / 393.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.121, allocations: 1.703 MB / 395.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.1233, allocations: 1.893 MB / 397.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.1261, allocations: 1.973 MB / 399.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006543/0.1267, allocations: 0.4961 MB / 400 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1279, allocations: 0.6795 MB / 400.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.129, allocations: 1.114 MB / 401.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.1307, allocations: 1.63 MB / 403.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006658/0.1374, allocations: 6.642 MB / 410.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1374, allocations: 4 kB / 410.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1374, allocations: 0 / 410.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.666e-05/0.1375, allocations: 4 kB / 410.1 MB, free: 0.6445 MB / 366.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.01053/0.148, allocations: 4.307 MB / 414.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1481, allocations: 8.922 kB / 414.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.1524, allocations: 0.8262 MB / 415.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004296/0.1567, allocations: 2.325 MB / 417.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.1569, allocations: 238.4 kB / 417.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.1574, allocations: 308 kB / 418.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007793/0.1652, allocations: 4.381 MB / 422.4 MB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/0.1653, allocations: 8 kB / 422.5 MB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.1656, allocations: 120 kB / 422.6 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/0.1658, allocations: 150.3 kB / 422.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006589/0.1723, allocations: 3.601 MB / 426.3 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.1913, allocations: 11.17 MB / 437.5 MB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005425/0.1968, allocations: 2.594 MB / 440.1 MB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.199, allocations: 1.235 MB / 441.3 MB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005964/0.205, allocations: 3.092 MB / 444.4 MB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.205, allocations: 43.56 kB / 444.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.116e-06/0.205, allocations: 0 / 444.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01127/0.2163, allocations: 4.806 MB / 449.3 MB, free: 8.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2163, allocations: 64.41 kB / 449.3 MB, free: 8.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.2189, allocations: 1.505 MB / 450.8 MB, free: 7.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.219, allocations: 49.7 kB / 450.9 MB, free: 7.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.2201, allocations: 1.457 MB / 452.3 MB, free: 5.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.2205, allocations: 456.1 kB / 452.8 MB, free: 5.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004664/0.2209, allocations: 283.5 kB / 453.1 MB, free: 5.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2211, allocations: 301.1 kB / 453.3 MB, free: 4.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.2222, allocations: 0.6519 MB / 454 MB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.2238, allocations: 1.138 MB / 455.1 MB, free: 2.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.2266, allocations: 1.874 MB / 457 MB, free: 0.7734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.2267, allocations: 7.938 kB / 457 MB, free: 0.7656 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003994/0.2306, allocations: 2.225 MB / 459.2 MB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.2307, allocations: 8 kB / 459.3 MB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.2307, allocations: 16 kB / 459.3 MB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.2314, allocations: 271.5 kB / 459.5 MB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.2328, allocations: 355.4 kB / 459.9 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/0.2387, allocations: 5.776 MB / 465.7 MB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.2399, allocations: 76.14 kB / 465.7 MB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.24, allocations: 68 kB / 465.8 MB, free: 7.648 MB / 430.1 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.00162/0.2416, allocations: 1.005 MB / 466.8 MB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.242, allocations: 166.9 kB / 467 MB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.2458, allocations: 1.951 MB / 468.9 MB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.2458, allocations: 15.94 kB / 468.9 MB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.2459, allocations: 8 kB / 468.9 MB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2459, allocations: 7.969 kB / 468.9 MB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007253/0.2531, allocations: 3.952 MB / 472.9 MB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.2531, allocations: 7.938 kB / 472.9 MB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.2539, allocations: 175.7 kB / 473.1 MB, free: 252 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1654/0.4193, allocations: 437.7 kB / 473.5 MB, free: 88.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.4195, allocations: 35.52 kB / 473.5 MB, free: 88.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008185/0.4277, allocations: 10.31 MB / 483.9 MB, free: 80.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4277, allocations: 2.375 kB / 483.9 MB, free: 80.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.4325, allocations: 2.813 MB / 486.7 MB, free: 79.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.4334, allocations: 332.8 kB / 487 MB, free: 79.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.4337, allocations: 31.27 kB / 487 MB, free: 79.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.4346, allocations: 61.48 kB / 487.1 MB, free: 79.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.4349, allocations: 101.7 kB / 487.2 MB, free: 79.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.435, allocations: 37.23 kB / 487.2 MB, free: 79.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.4366, allocations: 1.014 MB / 488.2 MB, free: 79.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4366, allocations: 0 / 488.2 MB, free: 79.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002028/0.4387, allocations: 0.5346 MB / 488.8 MB, free: 79.16 MB / 430.1 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.0002955/0.439, allocations: 164.8 kB / 488.9 MB, free: 79.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.4421, allocations: 1.935 MB / 490.9 MB, free: 78.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.4421, allocations: 2.297 kB / 490.9 MB, free: 78.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.4441, allocations: 1.485 MB / 492.3 MB, free: 77.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.4459, allocations: 409 kB / 492.7 MB, free: 77.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.4537, allocations: 5.537 MB / 498.3 MB, free: 74.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.4554, allocations: 1.72 MB / 0.4883 GB, free: 73.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009963/0.4564, allocations: 363.1 kB / 0.4886 GB, free: 73.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.4567, allocations: 119.3 kB / 0.4887 GB, free: 73.72 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4567, allocations: 0 / 0.4887 GB, free: 73.72 MB / 430.1 MB Notification: Performance of Templates: time 0.03507/0.4917, allocations: 24.99 MB / 0.5132 GB, free: 50.18 MB / 430.1 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 -s ida -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/jenkins1/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/jenkins1/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.470976836048067]