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.001196/0.001196, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001238/0.001238, allocations: 191 kB / 18.63 MB, free: 4.379 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 45.31 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01168/0.1131, allocations: 9.681 MB / 361.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006101/0.1192, allocations: 3.018 MB / 364.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1205, allocations: 51.75 kB / 364.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.1222, allocations: 0.6248 MB / 364.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1242, allocations: 0.7374 MB / 365.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.1251, allocations: 379.5 kB / 366 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.1276, allocations: 2.429 MB / 368.4 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.1296, allocations: 1.747 MB / 370.2 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1541/0.2837, allocations: 1.065 MB / 371.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.2859, allocations: 1.313 MB / 372.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006268/0.2866, allocations: 283 kB / 372.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.2874, allocations: 370.2 kB / 373.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007506/0.2882, allocations: 0.7715 MB / 374 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.2895, allocations: 1.27 MB / 375.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.2934, allocations: 3.633 MB / 378.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2934, allocations: 1.078 kB / 378.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.2934, allocations: 0 / 378.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.505e-05/0.2935, allocations: 4.812 kB / 378.9 MB, free: 11.57 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.005112/0.2986, allocations: 2.578 MB / 381.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2987, allocations: 13.3 kB / 381.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000702/0.2994, allocations: 262 kB / 381.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.3017, allocations: 1.348 MB / 383.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.3018, allocations: 145.5 kB / 383.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.3021, allocations: 198.5 kB / 383.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.3057, allocations: 2.421 MB / 385.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.3057, allocations: 11.52 kB / 385.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.3059, allocations: 76.16 kB / 385.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.98e-05/0.306, allocations: 90.59 kB / 386 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.3091, allocations: 1.96 MB / 388 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.3195, allocations: 7.767 MB / 395.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3209, allocations: 1.223 MB / 396.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.3222, allocations: 0.9415 MB / 397.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.3224, allocations: 126.1 kB / 398 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3225, allocations: 41.12 kB / 398.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.975e-06/0.3225, allocations: 0 / 398.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01148/0.334, allocations: 5.869 MB / 403.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.334, allocations: 67.64 kB / 404 MB, free: 12.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.336, allocations: 1.298 MB / 405.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3361, allocations: 49.64 kB / 405.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006762/0.3368, allocations: 0.9191 MB / 406.3 MB, free: 10.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.3371, allocations: 388 kB / 406.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/0.3375, allocations: 251.3 kB / 406.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3377, allocations: 369.8 kB / 407.2 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/0.3387, allocations: 0.6403 MB / 407.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3399, allocations: 0.9977 MB / 408.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.3422, allocations: 1.733 MB / 410.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.3423, allocations: 4 kB / 410.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003798/0.3461, allocations: 2.239 MB / 412.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3461, allocations: 15.94 kB / 412.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.3461, allocations: 12 kB / 412.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.3474, allocations: 492.4 kB / 413.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.3484, allocations: 303.3 kB / 413.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007124/0.3556, allocations: 7.124 MB / 420.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3569, allocations: 87.81 kB / 420.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.357, allocations: 56 kB / 420.9 MB, free: 11.31 MB / 334.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 (idealOpener.control,idealCloser.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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.3581, allocations: 0.6042 MB / 421.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.3584, allocations: 146.4 kB / 421.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.3617, allocations: 1.965 MB / 423.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3617, allocations: 12 kB / 423.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3618, allocations: 4 kB / 423.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3618, allocations: 3.984 kB / 423.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.3689, allocations: 4.128 MB / 427.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.369, allocations: 4 kB / 427.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.3698, allocations: 184.6 kB / 428 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.3713, allocations: 0.5418 MB / 428.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.81e-05/0.3714, allocations: 27.98 kB / 428.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00834/0.3797, allocations: 8.753 MB / 437.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3797, allocations: 4.031 kB / 437.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.3844, allocations: 2.859 MB / 440.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.3856, allocations: 355.2 kB / 440.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.3859, allocations: 28 kB / 440.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.3867, allocations: 63.92 kB / 440.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.387, allocations: 95.5 kB / 440.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.3871, allocations: 35.98 kB / 440.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.3885, allocations: 0.8878 MB / 441.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3885, allocations: 0 / 441.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001731/0.3902, allocations: 444 kB / 442 MB, free: 5.59 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 (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003869/0.3906, allocations: 183.1 kB / 442.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.3941, allocations: 2.24 MB / 444.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3941, allocations: 4 kB / 444.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.3963, allocations: 1.5 MB / 446 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.3984, allocations: 421.7 kB / 446.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006476/0.4048, allocations: 4.101 MB / 450.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.4063, allocations: 1.646 MB / 452.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.4074, allocations: 324.8 kB / 452.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.4077, allocations: 99.42 kB / 452.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4077, allocations: 0 / 452.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Templates: time 0.04043/0.4482, allocations: 23.69 MB / 476.2 MB, free: 3.562 MB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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