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.001355/0.001355, allocations: 123 kB / 17.79 MB, free: 5.266 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.00147/0.00147, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.002115/0.002115, allocations: 51.92 kB / 373.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 53.33 MB / 426.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2204/0.3446, allocations: 21.64 MB / 448.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.3606, allocations: 6.812 MB / 455.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004738/0.3653, allocations: 171 kB / 455.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01829/0.3836, allocations: 6.914 MB / 462.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.3937, allocations: 2.789 MB / 465.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.3989, allocations: 1.583 MB / 466.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.4129, allocations: 9.068 MB / 475.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02543/0.4383, allocations: 13.06 MB / 488.9 MB, free: 2.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008774/0.4471, allocations: 4.73 MB / 493.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009763/0.4569, allocations: 5.233 MB / 498.8 MB, free: 8.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.4606, allocations: 1.352 MB / 0.4885 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005394/0.466, allocations: 1.695 MB / 0.4901 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004247/0.4703, allocations: 2.623 MB / 0.4927 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008368/0.4787, allocations: 4.962 MB / 0.4975 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.5023, allocations: 18.26 MB / 0.5154 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5023, allocations: 4 kB / 0.5154 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5023, allocations: 0 / 0.5154 GB, free: 11.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003892/0.5027, allocations: 0 / 0.5154 GB, free: 11.48 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.0345/0.5372, allocations: 10.74 MB / 0.5259 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5372, allocations: 8.031 kB / 0.5259 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0378/0.575, allocations: 5.899 MB / 0.5316 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.5891, allocations: 5.742 MB / 0.5372 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007217/0.5898, allocations: 0.554 MB / 0.5378 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/0.593, allocations: 0.7352 MB / 0.5385 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03356/0.6266, allocations: 12.88 MB / 0.5511 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003431/0.6269, allocations: 19.88 kB / 0.5511 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002703/0.6296, allocations: 312 kB / 0.5514 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006585/0.6303, allocations: 496.1 kB / 0.5519 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/0.6602, allocations: 12.62 MB / 0.5642 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08629/0.7465, allocations: 41.55 MB / 0.6048 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.245/0.9915, allocations: 25.85 MB / 0.63 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005455/0.997, allocations: 2.926 MB / 0.6329 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000464/0.9974, allocations: 268.4 kB / 0.6331 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.9975, allocations: 76.14 kB / 0.6332 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=410): time 5.79e-06/0.9975, allocations: 0 / 0.6332 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=415): time 0.04226/1.04, allocations: 17.09 MB / 0.6499 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/1.04, allocations: 92.67 kB / 0.65 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/1.045, allocations: 2.839 MB / 0.6527 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006251/1.046, allocations: 99.61 kB / 0.6528 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001919/1.048, allocations: 3.149 MB / 0.6559 GB, free: 127.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.049, allocations: 1.468 MB / 0.6573 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/1.05, allocations: 0.9488 MB / 0.6583 GB, free: 126 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/1.05, allocations: 306.3 kB / 0.6586 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/1.054, allocations: 2.509 MB / 0.661 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00412/1.058, allocations: 4.113 MB / 0.665 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007739/1.066, allocations: 7.21 MB / 0.6721 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-05/1.066, allocations: 15.75 kB / 0.6721 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01255/1.078, allocations: 8.027 MB / 0.6799 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.543e-05/1.079, allocations: 32.53 kB / 0.68 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-05/1.079, allocations: 49.88 kB / 0.68 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/1.082, allocations: 1.23 MB / 0.6812 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004204/1.086, allocations: 1.134 MB / 0.6823 GB, free: 113.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.101, allocations: 11.24 MB / 0.6933 GB, free: 104 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.105, allocations: 272.7 kB / 0.6935 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.107, allocations: 240 kB / 0.6938 GB, free: 103.5 MB / 0.5137 GB 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.006211/1.113, allocations: 2.948 MB / 0.6967 GB, free: 100.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.114, allocations: 369.6 kB / 0.697 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.127, allocations: 6.669 MB / 0.7035 GB, free: 93.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/1.127, allocations: 44.88 kB / 0.7036 GB, free: 93.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.998e-05/1.128, allocations: 8 kB / 0.7036 GB, free: 93.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/1.128, allocations: 23.92 kB / 0.7036 GB, free: 93.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.153, allocations: 14.87 MB / 0.7181 GB, free: 78.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/1.153, allocations: 11.36 kB / 0.7181 GB, free: 78.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.156, allocations: 0.7489 MB / 0.7189 GB, free: 77.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/1.16, allocations: 1.134 MB / 0.72 GB, free: 76.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/1.16, allocations: 98.16 kB / 0.7201 GB, free: 76.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/1.173, allocations: 10.16 MB / 0.73 GB, free: 66.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.173, allocations: 8 kB / 0.73 GB, free: 66.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/1.189, allocations: 10.01 MB / 0.7398 GB, free: 55.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/1.192, allocations: 0.9436 MB / 0.7407 GB, free: 54.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.193, allocations: 87.92 kB / 0.7408 GB, free: 54.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.196, allocations: 199.8 kB / 0.741 GB, free: 54.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008258/1.197, allocations: 303.3 kB / 0.7412 GB, free: 54.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004001/1.197, allocations: 132.7 kB / 0.7414 GB, free: 54.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003497/1.201, allocations: 1.955 MB / 0.7433 GB, free: 52.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.201, allocations: 0 / 0.7433 GB, free: 52.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005438/1.206, allocations: 1.396 MB / 0.7446 GB, free: 50.88 MB / 0.5137 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.0007396/1.207, allocations: 266.2 kB / 0.7449 GB, free: 50.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.218, allocations: 6.487 MB / 0.7512 GB, free: 44.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.218, allocations: 0 / 0.7512 GB, free: 44.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005747/1.223, allocations: 3.319 MB / 0.7545 GB, free: 40.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004943/1.228, allocations: 0.8424 MB / 0.7553 GB, free: 39.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.252, allocations: 14.15 MB / 0.7691 GB, free: 25.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006451/1.259, allocations: 5.084 MB / 0.7741 GB, free: 20.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004328/1.263, allocations: 1.61 MB / 0.7757 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.264, allocations: 331.4 kB / 0.776 GB, free: 18.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.743e-06/1.264, allocations: 0 / 0.776 GB, free: 18.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.3238/1.588, allocations: 61.5 MB / 0.836 GB, free: 168.4 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/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: 8.079039208590984]