Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001872/0.001872, allocations: 84.25 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002259/0.002259, allocations: 158.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.466/1.466, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.263e-05, allocations: 6.578 kB / 325.1 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02293/0.02296, allocations: 18.63 MB / 343.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.03876, allocations: 6.516 MB / 350.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003612/0.04237, allocations: 175.1 kB / 350.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01693/0.0593, allocations: 6.72 MB / 357.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009416/0.06872, allocations: 2.855 MB / 360 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004769/0.07349, allocations: 1.553 MB / 361.5 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.08725, allocations: 9.455 MB / 371 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01841/0.1057, allocations: 10.94 MB / 381.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01345/0.1191, allocations: 6.966 MB / 388.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009375/0.1285, allocations: 4.475 MB / 393.3 MB, free: 464 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003344/0.1318, allocations: 1.356 MB / 394.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.1371, allocations: 1.694 MB / 396.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004131/0.1412, allocations: 2.665 MB / 399.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007919/0.1491, allocations: 3.334 MB / 402.4 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02589/0.175, allocations: 18.54 MB / 420.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.175, allocations: 0 / 420.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.175, allocations: 0 / 420.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004859/0.1755, allocations: 0 / 420.9 MB, free: 4.805 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03363/0.2091, allocations: 10.59 MB / 431.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2092, allocations: 15.98 kB / 431.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03633/0.2455, allocations: 5.903 MB / 437.4 MB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.2586, allocations: 5.78 MB / 443.2 MB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000622/0.2593, allocations: 0.5579 MB / 443.8 MB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/0.2623, allocations: 0.742 MB / 444.5 MB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/0.2911, allocations: 13.03 MB / 457.5 MB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/0.2913, allocations: 11.95 kB / 457.6 MB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.2929, allocations: 312 kB / 457.9 MB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005639/0.2934, allocations: 492 kB / 458.3 MB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.3201, allocations: 12.56 MB / 470.9 MB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2179/0.538, allocations: 35.99 MB / 0.495 GB, free: 93.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.5502, allocations: 8.514 MB / 0.5033 GB, free: 90.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/0.554, allocations: 2.916 MB / 0.5062 GB, free: 88.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.5544, allocations: 95.14 kB / 0.5063 GB, free: 88.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.5544, allocations: 86.05 kB / 0.5063 GB, free: 88.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=410): time 6.933e-06/0.5544, allocations: 0 / 0.5063 GB, free: 88.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=415): time 0.034/0.5884, allocations: 16.74 MB / 0.5227 GB, free: 72.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.5885, allocations: 94.67 kB / 0.5228 GB, free: 71.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.5915, allocations: 2.694 MB / 0.5254 GB, free: 69.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005176/0.592, allocations: 89.7 kB / 0.5255 GB, free: 69.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.5932, allocations: 3.141 MB / 0.5286 GB, free: 66.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009715/0.5942, allocations: 1.446 MB / 0.53 GB, free: 65.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.5954, allocations: 0.9427 MB / 0.5309 GB, free: 64.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.5954, allocations: 313.1 kB / 0.5312 GB, free: 63.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/0.5986, allocations: 2.505 MB / 0.5336 GB, free: 61.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.6024, allocations: 4.13 MB / 0.5377 GB, free: 56.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008008/0.6104, allocations: 7.195 MB / 0.5447 GB, free: 48.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.424e-05/0.6104, allocations: 16 kB / 0.5447 GB, free: 48.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01277/0.6232, allocations: 7.975 MB / 0.5525 GB, free: 40.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.6232, allocations: 31.98 kB / 0.5525 GB, free: 40.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.415e-05/0.6233, allocations: 52 kB / 0.5526 GB, free: 40.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/0.6264, allocations: 1.187 MB / 0.5537 GB, free: 39.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.6307, allocations: 1.143 MB / 0.5549 GB, free: 38.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.6441, allocations: 10.66 MB / 0.5653 GB, free: 27.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/0.6478, allocations: 267.9 kB / 0.5655 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008776/0.6487, allocations: 236 kB / 0.5657 GB, free: 26.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004655/0.6534, allocations: 2.948 MB / 0.5686 GB, free: 23.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.6544, allocations: 353.7 kB / 0.569 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.6655, allocations: 6.629 MB / 0.5754 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.6655, allocations: 44 kB / 0.5755 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.6655, allocations: 8 kB / 0.5755 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/0.6655, allocations: 23.92 kB / 0.5755 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.6848, allocations: 13.09 MB / 0.5883 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.6848, allocations: 4 kB / 0.5883 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/0.6877, allocations: 0.7606 MB / 0.589 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/0.6906, allocations: 1.085 MB / 0.5901 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/0.6909, allocations: 95.97 kB / 0.5902 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7055, allocations: 9.606 MB / 0.5996 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.7055, allocations: 8 kB / 0.5996 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/0.7234, allocations: 9.942 MB / 0.6093 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/0.7258, allocations: 0.8606 MB / 0.6101 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006275/0.7265, allocations: 80 kB / 0.6102 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/0.7286, allocations: 207.7 kB / 0.6104 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000746/0.7294, allocations: 315.2 kB / 0.6107 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/0.7297, allocations: 127.9 kB / 0.6108 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003075/0.7328, allocations: 1.794 MB / 0.6126 GB, free: 10.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7328, allocations: 0 / 0.6126 GB, free: 10.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004952/0.7377, allocations: 1.387 MB / 0.6139 GB, free: 8.941 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006948/0.7384, allocations: 273.8 kB / 0.6142 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01285/0.7513, allocations: 6.473 MB / 0.6205 GB, free: 2.172 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.7513, allocations: 4.062 kB / 0.6205 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007452/0.7587, allocations: 3.294 MB / 0.6237 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/0.7632, allocations: 0.7304 MB / 0.6244 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1786/0.9418, allocations: 14.1 MB / 0.6382 GB, free: 146.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/0.9486, allocations: 4.596 MB / 0.6427 GB, free: 146.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003889/0.9525, allocations: 1.591 MB / 0.6443 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.9536, allocations: 324.6 kB / 0.6446 GB, free: 146.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.9536, allocations: 0 / 0.6446 GB, free: 146.4 MB / 478.1 MB Notification: Performance of Templates: time 0.08478/1.038, allocations: 54.7 MB / 0.698 GB, free: 110.1 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.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: 7.633866246789694]