Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009625/0.0009625, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9/0.9, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 3.938 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.588e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01062/0.01063, allocations: 11.79 MB / 336.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008363/0.019, allocations: 4.283 MB / 340.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.02057, allocations: 99.38 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.02287, allocations: 0.9859 MB / 341.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.02598, allocations: 1.324 MB / 343 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.02739, allocations: 0.871 MB / 343.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.03057, allocations: 4.119 MB / 348 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.03216, allocations: 1.722 MB / 349.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.03447, allocations: 2.78 MB / 352.5 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.03608, allocations: 1.757 MB / 354.3 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004809/0.03656, allocations: 0.5 MB / 354.8 MB, free: 1.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.03747, allocations: 0.6988 MB / 355.5 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006558/0.03813, allocations: 1.137 MB / 356.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.0393, allocations: 1.407 MB / 358 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.04396, allocations: 6.708 MB / 364.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.04397, allocations: 0 / 364.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.04397, allocations: 0 / 364.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.639e-05/0.04403, allocations: 0 / 364.7 MB, free: 7.48 MB / 330.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.006362/0.05039, allocations: 4.302 MB / 369 MB, free: 3.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.05044, allocations: 15.92 kB / 369 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004052/0.05085, allocations: 455.2 kB / 369.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.05302, allocations: 0.8027 MB / 370.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.05573, allocations: 2.336 MB / 372.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.05584, allocations: 234.5 kB / 372.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.05616, allocations: 320.1 kB / 373.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005187/0.06134, allocations: 4.385 MB / 377.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.0614, allocations: 0 / 377.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.06161, allocations: 131.9 kB / 377.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.06171, allocations: 146.3 kB / 377.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.06624, allocations: 3.609 MB / 381.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.07848, allocations: 11.64 MB / 393.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.08162, allocations: 2.657 MB / 395.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.0836, allocations: 1.508 MB / 397.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003752/0.08735, allocations: 3.379 MB / 400.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.08738, allocations: 47.56 kB / 400.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 2.805e-06/0.08739, allocations: 0 / 400.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.006557/0.09394, allocations: 4.975 MB / 405.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.09398, allocations: 72.34 kB / 405.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.09551, allocations: 1.746 MB / 407.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.09557, allocations: 49.7 kB / 407.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.09619, allocations: 1.45 MB / 408.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.0964, allocations: 452.1 kB / 409.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.09668, allocations: 291.5 kB / 409.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.09674, allocations: 301.1 kB / 410 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.09771, allocations: 0.6559 MB / 410.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/0.09861, allocations: 1.154 MB / 411.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.1003, allocations: 1.894 MB / 413.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1003, allocations: 8 kB / 413.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002405/0.1027, allocations: 2.331 MB / 416 MB, free: 3.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1027, allocations: 12 kB / 416 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.1028, allocations: 19.94 kB / 416 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/0.1032, allocations: 315.4 kB / 416.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.1039, allocations: 347.5 kB / 416.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.108, allocations: 6.254 MB / 422.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.1086, allocations: 80.16 kB / 423 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.1086, allocations: 71.98 kB / 423.1 MB, free: 11.77 MB / 394.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.001072/0.1097, allocations: 0.997 MB / 424.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.1103, allocations: 186.8 kB / 424.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.1127, allocations: 2.043 MB / 426.3 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.1127, allocations: 15.94 kB / 426.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.1127, allocations: 8 kB / 426.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.1127, allocations: 7.969 kB / 426.3 MB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.1176, allocations: 4.485 MB / 430.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1176, allocations: 0 / 430.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.118, allocations: 167.9 kB / 431 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009507/0.119, allocations: 0.496 MB / 431.5 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.119, allocations: 35.98 kB / 431.5 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/0.1261, allocations: 10.83 MB / 442.4 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1261, allocations: 0 / 442.4 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.1292, allocations: 2.951 MB / 445.3 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/0.1299, allocations: 346.7 kB / 445.6 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.1301, allocations: 35.92 kB / 445.7 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.1305, allocations: 59.95 kB / 445.7 MB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.1307, allocations: 104.7 kB / 445.8 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.1308, allocations: 35.98 kB / 445.9 MB, free: 4.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.1319, allocations: 1.186 MB / 447.1 MB, free: 3.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1319, allocations: 0 / 447.1 MB, free: 3.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001343/0.1333, allocations: 0.5546 MB / 447.6 MB, free: 2.488 MB / 410.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.1614/0.2947, allocations: 3.533 MB / 451.1 MB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.2973, allocations: 1.988 MB / 453.1 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2973, allocations: 3.875 kB / 453.1 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.2986, allocations: 1.501 MB / 454.6 MB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.3001, allocations: 0.5035 MB / 455.1 MB, free: 111 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/0.3212, allocations: 19.1 MB / 474.2 MB, free: 96.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.3223, allocations: 1.738 MB / 476 MB, free: 95.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007137/0.323, allocations: 375.9 kB / 476.4 MB, free: 94.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/0.3237, allocations: 1.121 MB / 477.5 MB, free: 93.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/0.3237, allocations: 0 / 477.5 MB, free: 93.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07294/0.3967, allocations: 54.47 MB / 0.5195 GB, free: 39.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.397, allocations: 7.938 kB / 0.5195 GB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 12.062988518737257]