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.001291/0.001291, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001599/0.001599, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.223 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.001485/0.001485, allocations: 51.92 kB / 379.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2237, allocations: 53.37 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02555/0.2492, allocations: 21.69 MB / 454.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2638, allocations: 6.831 MB / 461 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004626/0.2684, allocations: 175.1 kB / 461.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01636/0.2847, allocations: 6.922 MB / 468.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009531/0.2943, allocations: 2.88 MB / 470.9 MB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.2988, allocations: 1.621 MB / 472.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01358/0.3124, allocations: 9.181 MB / 481.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01687/0.3292, allocations: 11.06 MB / 492.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0074/0.3366, allocations: 4.769 MB / 497.6 MB, free: 5.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008292/0.3449, allocations: 5.245 MB / 0.491 GB, free: 216 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002866/0.3478, allocations: 1.359 MB / 0.4924 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004264/0.3521, allocations: 1.703 MB / 0.494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00312/0.3552, allocations: 2.623 MB / 0.4966 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007447/0.3626, allocations: 4.962 MB / 0.5014 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0209/0.3835, allocations: 18.25 MB / 0.5192 GB, free: 3.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3835, allocations: 0 / 0.5192 GB, free: 3.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3835, allocations: 0 / 0.5192 GB, free: 3.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003903/0.3839, allocations: 0 / 0.5192 GB, free: 3.23 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.0301/0.414, allocations: 10.66 MB / 0.5297 GB, free: 8.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4141, allocations: 12.03 kB / 0.5297 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0322/0.4463, allocations: 5.903 MB / 0.5354 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4031/0.8494, allocations: 5.772 MB / 0.5411 GB, free: 86.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005767/0.85, allocations: 0.5536 MB / 0.5416 GB, free: 86.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002773/0.8527, allocations: 0.7363 MB / 0.5423 GB, free: 86.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.88, allocations: 12.89 MB / 0.5549 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.8803, allocations: 8.281 kB / 0.5549 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001834/0.8821, allocations: 310.5 kB / 0.5552 GB, free: 80.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004393/0.8825, allocations: 0.4893 MB / 0.5557 GB, free: 80.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.905, allocations: 12.62 MB / 0.568 GB, free: 71.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05658/0.9616, allocations: 40.54 MB / 0.6076 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.9733, allocations: 8.609 MB / 0.616 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003803/0.9771, allocations: 2.922 MB / 0.6189 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.9775, allocations: 117.1 kB / 0.619 GB, free: 20.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.9775, allocations: 77.78 kB / 0.6191 GB, free: 19.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.17e-06/0.9775, allocations: 0 / 0.6191 GB, free: 19.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03129/1.009, allocations: 16.94 MB / 0.6356 GB, free: 3.266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/1.009, allocations: 102.7 kB / 0.6357 GB, free: 3.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/1.012, allocations: 2.835 MB / 0.6385 GB, free: 344 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004068/1.013, allocations: 93.7 kB / 0.6386 GB, free: 244 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.015, allocations: 3.148 MB / 0.6416 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.017, allocations: 1.463 MB / 0.6431 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/1.018, allocations: 0.9505 MB / 0.644 GB, free: 10.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/1.018, allocations: 305.1 kB / 0.6443 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/1.022, allocations: 2.512 MB / 0.6467 GB, free: 7.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/1.028, allocations: 4.117 MB / 0.6508 GB, free: 3.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.039, allocations: 7.201 MB / 0.6578 GB, free: 11.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/1.039, allocations: 16 kB / 0.6578 GB, free: 11.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01502/1.054, allocations: 8.03 MB / 0.6657 GB, free: 3.102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/1.054, allocations: 28 kB / 0.6657 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.373e-05/1.054, allocations: 51.94 kB / 0.6657 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/1.057, allocations: 1.229 MB / 0.6669 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/1.062, allocations: 1.143 MB / 0.668 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.078, allocations: 11.03 MB / 0.6788 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.082, allocations: 271.7 kB / 0.6791 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000502/1.082, allocations: 239.9 kB / 0.6793 GB, free: 4.887 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.004828/1.087, allocations: 2.959 MB / 0.6822 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/1.088, allocations: 365.7 kB / 0.6825 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.1, allocations: 6.67 MB / 0.6891 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/1.1, allocations: 43.98 kB / 0.6891 GB, free: 10.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.1, allocations: 12 kB / 0.6891 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.879e-05/1.1, allocations: 19.92 kB / 0.6891 GB, free: 10.77 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/1.126, allocations: 14.87 MB / 0.7037 GB, free: 11.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/1.126, allocations: 8 kB / 0.7037 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.129, allocations: 0.7489 MB / 0.7044 GB, free: 11.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/1.133, allocations: 1.136 MB / 0.7055 GB, free: 9.906 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003933/1.133, allocations: 95.91 kB / 0.7056 GB, free: 9.812 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/1.148, allocations: 9.958 MB / 0.7153 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/1.148, allocations: 11.94 kB / 0.7153 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/1.164, allocations: 10.01 MB / 0.7251 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/1.167, allocations: 0.8879 MB / 0.726 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/1.167, allocations: 87.92 kB / 0.7261 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.169, allocations: 199.8 kB / 0.7263 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006449/1.17, allocations: 315.1 kB / 0.7266 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/1.17, allocations: 128 kB / 0.7267 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003011/1.173, allocations: 1.959 MB / 0.7286 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.173, allocations: 0 / 0.7286 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004423/1.177, allocations: 1.391 MB / 0.7299 GB, free: 0.5078 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.0005765/1.178, allocations: 270.5 kB / 0.7302 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.189, allocations: 6.492 MB / 0.7365 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.189, allocations: 4 kB / 0.7365 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005954/1.195, allocations: 3.322 MB / 0.7398 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/1.199, allocations: 0.8321 MB / 0.7406 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.247/1.446, allocations: 14.06 MB / 0.7543 GB, free: 179.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/1.45, allocations: 4.947 MB / 0.7592 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.451, allocations: 367.7 kB / 0.7595 GB, free: 179.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.451, allocations: 0 / 0.7595 GB, free: 179.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1369/1.588, allocations: 177.4 MB / 0.9328 GB, free: 16.16 MB / 0.545 GB " [Timeout remaining time 658] 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/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_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: 15.132866010069847]