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.001178/0.001178, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001059/0.001059, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.36/1.36, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 56.5 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 49.43 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01193/0.1134, allocations: 9.704 MB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0066/0.1201, allocations: 3.022 MB / 363.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1219, allocations: 51.81 kB / 363.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.1242, allocations: 0.617 MB / 364.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.1273, allocations: 0.7453 MB / 364.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1286, allocations: 379.4 kB / 365.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003528/0.1321, allocations: 2.414 MB / 367.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.1349, allocations: 1.747 MB / 369.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.1366, allocations: 1.067 MB / 370.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1989/0.3355, allocations: 1.309 MB / 371.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.3366, allocations: 278.7 kB / 372 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.338, allocations: 372.7 kB / 372.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009029/0.3389, allocations: 0.7712 MB / 373.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.341, allocations: 1.274 MB / 374.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.3462, allocations: 3.596 MB / 378 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3463, allocations: 2.094 kB / 378 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3463, allocations: 0 / 378 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.3464, allocations: 0 / 378 MB, free: 12.12 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.007222/0.3537, allocations: 2.585 MB / 380.6 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3537, allocations: 9.969 kB / 380.6 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.3547, allocations: 259.7 kB / 380.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.3573, allocations: 1.31 MB / 382.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3574, allocations: 145.2 kB / 382.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.3577, allocations: 192.2 kB / 382.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004665/0.3624, allocations: 2.423 MB / 385 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.75e-05/0.3625, allocations: 7.125 kB / 385 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.3627, allocations: 80.27 kB / 385 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3628, allocations: 97.48 kB / 385.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.3669, allocations: 1.956 MB / 387.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.3807, allocations: 7.853 MB / 394.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.3824, allocations: 1.226 MB / 396.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.384, allocations: 0.9421 MB / 397.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.3842, allocations: 121.7 kB / 397.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3843, allocations: 44.03 kB / 397.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.336e-06/0.3843, allocations: 0 / 397.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01377/0.398, allocations: 5.867 MB / 403.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3981, allocations: 64.41 kB / 403.2 MB, free: 13.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.4006, allocations: 1.294 MB / 404.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.4008, allocations: 45.7 kB / 404.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007279/0.4016, allocations: 0.9155 MB / 405.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.402, allocations: 398.9 kB / 405.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.4025, allocations: 254.6 kB / 406.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4027, allocations: 369.8 kB / 406.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.4039, allocations: 0.6364 MB / 407.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4052, allocations: 0.9953 MB / 408.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.4076, allocations: 1.736 MB / 409.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.4077, allocations: 7.984 kB / 409.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004423/0.4121, allocations: 2.242 MB / 412.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.4122, allocations: 11.94 kB / 412.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.4122, allocations: 12 kB / 412.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.4135, allocations: 496.3 kB / 412.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4147, allocations: 304.6 kB / 412.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007685/0.4224, allocations: 7.136 MB / 420 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4241, allocations: 91.81 kB / 420.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.4242, allocations: 56 kB / 420.2 MB, free: 12.18 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.001349/0.4256, allocations: 0.6057 MB / 420.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.4259, allocations: 142.3 kB / 420.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.4295, allocations: 1.966 MB / 422.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4295, allocations: 8 kB / 422.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4295, allocations: 8 kB / 422.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4295, allocations: 3.984 kB / 422.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007439/0.437, allocations: 4.138 MB / 427 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.437, allocations: 4 kB / 427 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.4378, allocations: 182.4 kB / 427.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.4393, allocations: 0.5413 MB / 427.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.68e-05/0.4395, allocations: 31.98 kB / 427.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008467/0.4479, allocations: 8.767 MB / 436.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.448, allocations: 5.5 kB / 436.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/0.4526, allocations: 2.852 MB / 439.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/0.4536, allocations: 359.2 kB / 439.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.4538, allocations: 29.5 kB / 439.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.4546, allocations: 63.92 kB / 439.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.4549, allocations: 86.97 kB / 439.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.455, allocations: 39.98 kB / 440 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.4565, allocations: 0.8878 MB / 440.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4565, allocations: 0 / 440.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001688/0.4582, allocations: 444 kB / 441.3 MB, free: 6.434 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.0004085/0.4587, allocations: 180.7 kB / 441.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004389/0.4631, allocations: 2.581 MB / 444.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4631, allocations: 0 / 444.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.4654, allocations: 1.497 MB / 445.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.4677, allocations: 413.9 kB / 446 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/0.4747, allocations: 4.201 MB / 450.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.476, allocations: 1.642 MB / 451.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.4765, allocations: 103.4 kB / 451.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4765, allocations: 0 / 451.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.07304/0.5495, allocations: 70.66 MB / 0.5103 GB, free: 5.078 MB / 430.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/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