Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001913/0.001913, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.003257/0.003257, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 47.94 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2674, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02529/0.2927, allocations: 18.61 MB / 450.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.3091, allocations: 6.499 MB / 456.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/0.3135, allocations: 171.2 kB / 456.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.331, allocations: 6.393 MB / 463.3 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.3416, allocations: 2.81 MB / 466.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.3472, allocations: 1.536 MB / 467.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.3611, allocations: 9.173 MB / 476.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02412/0.3852, allocations: 10.91 MB / 487.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008804/0.3941, allocations: 4.773 MB / 492.5 MB, free: 9.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/0.4047, allocations: 4.975 MB / 497.5 MB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004657/0.4094, allocations: 1.355 MB / 498.8 MB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006644/0.416, allocations: 1.683 MB / 0.4888 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004688/0.4207, allocations: 2.623 MB / 0.4913 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008754/0.4294, allocations: 3.837 MB / 0.4951 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02524/0.4547, allocations: 18.32 MB / 0.513 GB, free: 8.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4547, allocations: 4 kB / 0.513 GB, free: 8.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4547, allocations: 4 kB / 0.513 GB, free: 8.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000442/0.4551, allocations: 0 / 0.513 GB, free: 8.621 MB / 430.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.03595/0.4911, allocations: 10.65 MB / 0.5234 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4911, allocations: 8.031 kB / 0.5234 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/0.5268, allocations: 5.903 MB / 0.5292 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.5412, allocations: 5.778 MB / 0.5348 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000618/0.5418, allocations: 0.5579 MB / 0.5353 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003273/0.545, allocations: 0.7304 MB / 0.5361 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2489/0.7939, allocations: 13.03 MB / 0.5488 GB, free: 85.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.7941, allocations: 24.59 kB / 0.5488 GB, free: 85.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.7952, allocations: 308 kB / 0.5491 GB, free: 85.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003566/0.7956, allocations: 0.4886 MB / 0.5496 GB, free: 85.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.816, allocations: 12.55 MB / 0.5618 GB, free: 75.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05107/0.8671, allocations: 35.98 MB / 0.597 GB, free: 39.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.8786, allocations: 8.511 MB / 0.6053 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.8822, allocations: 2.92 MB / 0.6081 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.8825, allocations: 99.08 kB / 0.6082 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.8825, allocations: 73.78 kB / 0.6083 GB, free: 29.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.673e-06/0.8825, allocations: 0 / 0.6083 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03012/0.9126, allocations: 16.74 MB / 0.6246 GB, free: 12.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.9127, allocations: 98.66 kB / 0.6247 GB, free: 12.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.9156, allocations: 2.687 MB / 0.6274 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.9159, allocations: 93.7 kB / 0.6275 GB, free: 9.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.9171, allocations: 3.158 MB / 0.6305 GB, free: 6.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008048/0.9179, allocations: 1.462 MB / 0.632 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.919, allocations: 0.9543 MB / 0.6329 GB, free: 4.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.919, allocations: 309.1 kB / 0.6332 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/0.9218, allocations: 2.505 MB / 0.6356 GB, free: 1.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004596/0.9264, allocations: 4.131 MB / 0.6397 GB, free: 12.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.9367, allocations: 7.191 MB / 0.6467 GB, free: 4.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-05/0.9367, allocations: 16 kB / 0.6467 GB, free: 4.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01459/0.9513, allocations: 7.975 MB / 0.6545 GB, free: 12.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.9513, allocations: 28 kB / 0.6545 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.127e-05/0.9514, allocations: 52 kB / 0.6546 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/0.9548, allocations: 1.191 MB / 0.6557 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/0.9591, allocations: 1.135 MB / 0.6568 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.9756, allocations: 10.66 MB / 0.6673 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.9792, allocations: 275.8 kB / 0.6675 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006932/0.9799, allocations: 240 kB / 0.6677 GB, free: 15.05 MB / 494.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.005225/0.9851, allocations: 2.952 MB / 0.6706 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008874/0.986, allocations: 349.8 kB / 0.671 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.9982, allocations: 6.629 MB / 0.6774 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/0.9983, allocations: 44 kB / 0.6775 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/0.9983, allocations: 15.88 kB / 0.6775 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.951e-05/0.9983, allocations: 19.92 kB / 0.6775 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.024, allocations: 13.08 MB / 0.6903 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.024, allocations: 4 kB / 0.6903 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.027, allocations: 0.7527 MB / 0.691 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.03, allocations: 1.093 MB / 0.6921 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004869/1.031, allocations: 95.97 kB / 0.6922 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/1.045, allocations: 9.607 MB / 0.7016 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.045, allocations: 11.94 kB / 0.7016 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/1.062, allocations: 9.951 MB / 0.7113 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.065, allocations: 0.8606 MB / 0.7121 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/1.066, allocations: 87.94 kB / 0.7122 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.068, allocations: 199.8 kB / 0.7124 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/1.068, allocations: 319.1 kB / 0.7127 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.069, allocations: 128 kB / 0.7128 GB, free: 448 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002975/1.072, allocations: 1.79 MB / 0.7146 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/1.072, allocations: 0 / 0.7146 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005001/1.077, allocations: 1.379 MB / 0.7159 GB, free: 13.26 MB / 0.5294 GB 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.0007439/1.077, allocations: 273.7 kB / 0.7162 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.09, allocations: 6.473 MB / 0.7225 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.09, allocations: 448 / 0.7225 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006952/1.097, allocations: 3.302 MB / 0.7257 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.101, allocations: 0.7344 MB / 0.7265 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/1.13, allocations: 14.22 MB / 0.7403 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2217/1.352, allocations: 4.597 MB / 0.7448 GB, free: 180.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004848/1.357, allocations: 1.588 MB / 0.7464 GB, free: 180.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.358, allocations: 321.5 kB / 0.7467 GB, free: 180.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.358, allocations: 5.031 kB / 0.7467 GB, free: 180.3 MB / 0.545 GB Notification: Performance of Templates: time 0.08501/1.443, allocations: 62.57 MB / 0.8078 GB, free: 137.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.87410294637084]