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.001359/0.001359, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001527/0.001527, allocations: 217 kB / 24.5 MB, free: 4.133 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.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.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 0.001961/0.001961, allocations: 59.91 kB / 379.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 53.42 MB / 432.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02627/0.3474, allocations: 21.69 MB / 454.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.3635, allocations: 6.835 MB / 461 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004734/0.3683, allocations: 171.2 kB / 461.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0174/0.3857, allocations: 6.927 MB / 468.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.3971, allocations: 2.864 MB / 471 MB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005693/0.4028, allocations: 1.62 MB / 472.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01549/0.4183, allocations: 9.176 MB / 481.8 MB, free: 5.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02563/0.444, allocations: 11.07 MB / 492.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.454, allocations: 4.762 MB / 497.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.4649, allocations: 5.237 MB / 0.491 GB, free: 80 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004554/0.4694, allocations: 1.356 MB / 0.4924 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006314/0.4758, allocations: 1.707 MB / 0.494 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00511/0.4809, allocations: 2.623 MB / 0.4966 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.4921, allocations: 4.958 MB / 0.5014 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03187/0.524, allocations: 18.26 MB / 0.5193 GB, free: 3.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.524, allocations: 4 kB / 0.5193 GB, free: 3.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.524, allocations: 0 / 0.5193 GB, free: 3.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007253/0.5247, allocations: 4 kB / 0.5193 GB, free: 3.09 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.04359/0.5683, allocations: 10.66 MB / 0.5297 GB, free: 8.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.5684, allocations: 8.031 kB / 0.5297 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/0.6029, allocations: 5.903 MB / 0.5355 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3027/0.9057, allocations: 5.771 MB / 0.5411 GB, free: 86.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007543/0.9064, allocations: 0.5583 MB / 0.5416 GB, free: 86.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003948/0.9104, allocations: 0.7319 MB / 0.5424 GB, free: 86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/0.9445, allocations: 12.89 MB / 0.5549 GB, free: 80.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005868/0.9451, allocations: 14.41 kB / 0.555 GB, free: 80.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003841/0.9489, allocations: 309 kB / 0.5552 GB, free: 80.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007304/0.9497, allocations: 0.4942 MB / 0.5557 GB, free: 80.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.978, allocations: 12.62 MB / 0.5681 GB, free: 70.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07163/1.05, allocations: 40.54 MB / 0.6076 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/1.064, allocations: 8.61 MB / 0.6161 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/1.068, allocations: 2.919 MB / 0.6189 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/1.069, allocations: 117.5 kB / 0.619 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.069, allocations: 77.72 kB / 0.6191 GB, free: 19.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.781e-06/1.069, allocations: 0 / 0.6191 GB, free: 19.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03923/1.108, allocations: 16.94 MB / 0.6356 GB, free: 2.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.108, allocations: 98.61 kB / 0.6357 GB, free: 2.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00503/1.113, allocations: 2.841 MB / 0.6385 GB, free: 8 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000677/1.114, allocations: 93.7 kB / 0.6386 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.117, allocations: 3.149 MB / 0.6417 GB, free: 12.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002136/1.119, allocations: 1.46 MB / 0.6431 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/1.122, allocations: 0.9544 MB / 0.644 GB, free: 10.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/1.122, allocations: 301.1 kB / 0.6443 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005047/1.127, allocations: 2.512 MB / 0.6468 GB, free: 7.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006971/1.134, allocations: 4.113 MB / 0.6508 GB, free: 2.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.147, allocations: 7.21 MB / 0.6578 GB, free: 10.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.881e-05/1.148, allocations: 16 kB / 0.6578 GB, free: 10.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02096/1.168, allocations: 8.021 MB / 0.6657 GB, free: 2.711 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.575e-05/1.169, allocations: 27.98 kB / 0.6657 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/1.169, allocations: 55.94 kB / 0.6658 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/1.173, allocations: 1.228 MB / 0.667 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005082/1.178, allocations: 1.139 MB / 0.6681 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/1.197, allocations: 11.03 MB / 0.6788 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/1.201, allocations: 275.6 kB / 0.6791 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.202, allocations: 236.1 kB / 0.6793 GB, free: 4.5 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.007083/1.209, allocations: 2.963 MB / 0.6822 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.211, allocations: 361.7 kB / 0.6826 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.227, allocations: 6.659 MB / 0.6891 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/1.227, allocations: 44 kB / 0.6891 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-05/1.227, allocations: 11.98 kB / 0.6891 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-05/1.227, allocations: 23.92 kB / 0.6891 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03669/1.264, allocations: 14.87 MB / 0.7037 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.264, allocations: 4 kB / 0.7037 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003578/1.268, allocations: 0.7566 MB / 0.7044 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003576/1.271, allocations: 1.129 MB / 0.7055 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006715/1.272, allocations: 99.95 kB / 0.7056 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/1.29, allocations: 9.966 MB / 0.7153 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.29, allocations: 7.938 kB / 0.7153 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02353/1.313, allocations: 10.01 MB / 0.7251 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003743/1.317, allocations: 0.8879 MB / 0.726 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/1.318, allocations: 83.98 kB / 0.7261 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.322, allocations: 195.8 kB / 0.7263 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/1.323, allocations: 323 kB / 0.7266 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006624/1.323, allocations: 127.9 kB / 0.7267 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004956/1.328, allocations: 1.963 MB / 0.7286 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/1.328, allocations: 0 / 0.7286 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00746/1.336, allocations: 1.391 MB / 0.73 GB, free: 136 kB / 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.001189/1.337, allocations: 266.6 kB / 0.7302 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.352, allocations: 6.495 MB / 0.7366 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.352, allocations: 1.938 kB / 0.7366 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007845/1.36, allocations: 3.309 MB / 0.7398 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005934/1.366, allocations: 0.8442 MB / 0.7406 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2549/1.621, allocations: 14.06 MB / 0.7544 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004336/1.625, allocations: 4.946 MB / 0.7592 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.626, allocations: 369.4 kB / 0.7595 GB, free: 179 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/1.626, allocations: 0 / 0.7595 GB, free: 179 MB / 0.545 GB Notification: Performance of Templates: time 0.1866/1.813, allocations: 177.4 MB / 0.9328 GB, free: 15.69 MB / 0.545 GB " [Timeout remaining time 658] 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/jenkins1/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/jenkins1/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: 16.600445061922073]