Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 97.55 kB / 16.3 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 182.3 kB / 17.19 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 241.1 MB, free: 5.273 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 8 kB / 300.7 MB, free: 5.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 50.43 MB / 351.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009649/0.1526, allocations: 7.853 MB / 359 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.1588, allocations: 2.92 MB / 361.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.1605, allocations: 43.81 kB / 362 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.1626, allocations: 0.5208 MB / 362.5 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.1654, allocations: 0.6503 MB / 363.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1666, allocations: 239.7 kB / 363.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.1701, allocations: 1.588 MB / 365 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.1724, allocations: 1.225 MB / 366.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.1739, allocations: 0.7589 MB / 366.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.176, allocations: 0.9416 MB / 367.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006896/0.1767, allocations: 124 kB / 368 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1778, allocations: 187.9 kB / 368.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009467/0.1788, allocations: 0.5569 MB / 368.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008703/0.1797, allocations: 452.6 kB / 369.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003893/0.1836, allocations: 2.875 MB / 372.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1836, allocations: 0 / 372.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.1836, allocations: 0 / 372.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.1838, allocations: 3.938 kB / 372.1 MB, free: 6.426 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00594/0.1898, allocations: 2.197 MB / 374.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1898, allocations: 11.97 kB / 374.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.1911, allocations: 261.2 kB / 374.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.1944, allocations: 1.279 MB / 375.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.1946, allocations: 143.8 kB / 375.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005888/0.1952, allocations: 199.8 kB / 376.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006984/0.2022, allocations: 2.387 MB / 378.5 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.2024, allocations: 11.91 kB / 378.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.2028, allocations: 75.91 kB / 378.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.2029, allocations: 91.67 kB / 378.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.2073, allocations: 1.951 MB / 380.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.2224, allocations: 7.855 MB / 388.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2244, allocations: 1.224 MB / 389.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.2246, allocations: 118.1 kB / 389.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.2247, allocations: 47.56 kB / 389.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.176e-06/0.2247, allocations: 3.938 kB / 389.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.0138/0.2385, allocations: 5.873 MB / 395.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.2386, allocations: 68.36 kB / 395.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.2408, allocations: 1.247 MB / 397.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.2409, allocations: 49.7 kB / 397.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007801/0.2417, allocations: 0.9199 MB / 398.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.2421, allocations: 390.4 kB / 398.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.2422, allocations: 28 kB / 398.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2424, allocations: 361.9 kB / 398.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2435, allocations: 0.6325 MB / 399.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.2448, allocations: 0.9964 MB / 400.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.2462, allocations: 0.7798 MB / 401.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.2462, allocations: 8 kB / 401.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004043/0.2502, allocations: 2.23 MB / 403.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.2503, allocations: 12 kB / 403.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.2503, allocations: 12 kB / 403.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.2516, allocations: 480.2 kB / 404 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.2527, allocations: 299.5 kB / 404.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.2602, allocations: 6.62 MB / 410.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.2615, allocations: 83.91 kB / 410.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/0.2617, allocations: 56 kB / 411 MB, free: 14.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001492/0.2632, allocations: 0.6027 MB / 411.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.2637, allocations: 150.2 kB / 411.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.2676, allocations: 1.945 MB / 413.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.2676, allocations: 16 kB / 413.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.2677, allocations: 7.953 kB / 413.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.2677, allocations: 3.984 kB / 413.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/0.2763, allocations: 4.056 MB / 417.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.2763, allocations: 7.953 kB / 417.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009065/0.2772, allocations: 183.7 kB / 418 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.2789, allocations: 0.5429 MB / 418.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.2791, allocations: 27.98 kB / 418.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2167/0.4958, allocations: 8.117 MB / 426.7 MB, free: 60.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.4959, allocations: 4.125 kB / 426.7 MB, free: 60.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.5018, allocations: 2.958 MB / 429.6 MB, free: 60.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/0.5028, allocations: 351.8 kB / 430 MB, free: 60.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.503, allocations: 34.77 kB / 430 MB, free: 60.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/0.5038, allocations: 72.97 kB / 430.1 MB, free: 60.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.5041, allocations: 88.36 kB / 430.2 MB, free: 60.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.5042, allocations: 33.05 kB / 430.2 MB, free: 60.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.5057, allocations: 0.8442 MB / 431 MB, free: 60.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5057, allocations: 0.5625 kB / 431 MB, free: 60.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001905/0.5076, allocations: 441.5 kB / 431.5 MB, free: 60.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003863/0.508, allocations: 157.6 kB / 431.6 MB, free: 60.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004357/0.5123, allocations: 2.211 MB / 433.8 MB, free: 59.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5124, allocations: 4.656 kB / 433.8 MB, free: 59.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002447/0.5148, allocations: 1.5 MB / 435.3 MB, free: 59.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.5168, allocations: 376.4 kB / 435.7 MB, free: 59.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007542/0.5243, allocations: 4.934 MB / 440.6 MB, free: 56.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.5255, allocations: 1.682 MB / 442.3 MB, free: 56.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.5266, allocations: 325.5 kB / 442.6 MB, free: 55.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5269, allocations: 98 kB / 442.7 MB, free: 55.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.372e-06/0.5269, allocations: 0 / 442.7 MB, free: 55.97 MB / 350.1 MB Notification: Performance of Templates: time 0.03125/0.5581, allocations: 21.43 MB / 464.2 MB, free: 39.2 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches