Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009132/0.0009132, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009737/0.000974, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.000263, allocations: 8 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.00965/0.1223, allocations: 9.152 MB / 368.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.1282, allocations: 3.027 MB / 371.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1294, allocations: 43.81 kB / 371.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.131, allocations: 0.5555 MB / 372 MB, free: 464 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2166/0.3477, allocations: 0.6681 MB / 372.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3487, allocations: 335 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003663/0.3524, allocations: 2.736 MB / 375.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.3542, allocations: 1.423 MB / 377.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.3558, allocations: 0.8459 MB / 378 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.3575, allocations: 1.129 MB / 379.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.3577, allocations: 123 kB / 379.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.3584, allocations: 237.3 kB / 379.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.359, allocations: 0.5937 MB / 380.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.3601, allocations: 1.094 MB / 381.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.3637, allocations: 3.429 MB / 384.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3637, allocations: 0 / 384.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3637, allocations: 0 / 384.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.002e-05/0.3638, allocations: 4 kB / 384.6 MB, free: 8.41 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.004518/0.3683, allocations: 2.192 MB / 386.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3683, allocations: 9.656 kB / 386.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.3692, allocations: 279.4 kB / 387.1 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.371, allocations: 1.32 MB / 388.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.3711, allocations: 146.5 kB / 388.6 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.3714, allocations: 191.3 kB / 388.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.3757, allocations: 2.425 MB / 391.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.796e-05/0.3758, allocations: 13.36 kB / 391.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.3759, allocations: 78.31 kB / 391.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.3761, allocations: 88.38 kB / 391.4 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.3796, allocations: 1.961 MB / 393.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.3919, allocations: 7.896 MB / 401.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.3938, allocations: 1.24 MB / 402.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.3956, allocations: 0.9491 MB / 403.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.3959, allocations: 119.3 kB / 403.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.346e-05/0.396, allocations: 47.5 kB / 403.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 5.631e-06/0.396, allocations: 0 / 403.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.0138/0.4098, allocations: 5.931 MB / 409.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4099, allocations: 68.34 kB / 409.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.4121, allocations: 1.314 MB / 410.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.4122, allocations: 45.7 kB / 410.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.4129, allocations: 0.9241 MB / 411.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.4133, allocations: 386.9 kB / 412.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4135, allocations: 121.6 kB / 412.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4137, allocations: 353.9 kB / 412.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4148, allocations: 0.6403 MB / 413.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.4161, allocations: 1.016 MB / 414.3 MB, free: 280 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.4185, allocations: 1.736 MB / 416.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4185, allocations: 0 / 416.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004055/0.4226, allocations: 2.253 MB / 418.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4226, allocations: 16.03 kB / 418.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.4226, allocations: 8 kB / 418.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.4239, allocations: 499.9 kB / 418.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4251, allocations: 299.5 kB / 419.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007014/0.4321, allocations: 6.537 MB / 425.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4337, allocations: 95.86 kB / 425.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.4339, allocations: 55.98 kB / 425.8 MB, free: 4.211 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.001475/0.4354, allocations: 0.6059 MB / 426.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.4357, allocations: 146.2 kB / 426.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.4393, allocations: 1.976 MB / 428.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4393, allocations: 12 kB / 428.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.4393, allocations: 4 kB / 428.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4393, allocations: 7.969 kB / 428.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/0.4462, allocations: 4.147 MB / 432.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.4462, allocations: 3.938 kB / 432.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.447, allocations: 188.4 kB / 432.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.4485, allocations: 0.5352 MB / 433.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.321e-05/0.4486, allocations: 35.92 kB / 433.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007985/0.4566, allocations: 8.042 MB / 441.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4566, allocations: 0 / 441.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004762/0.4614, allocations: 2.874 MB / 444.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.4624, allocations: 355.2 kB / 444.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/0.4628, allocations: 28 kB / 444.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4639, allocations: 75.92 kB / 444.8 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.4642, allocations: 88.84 kB / 444.9 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.4643, allocations: 31.98 kB / 445 MB, free: 344 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001576/0.4659, allocations: 0.8929 MB / 445.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4659, allocations: 3.938 kB / 445.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00187/0.4678, allocations: 436 kB / 446.3 MB, free: 15.01 MB / 366.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.0003956/0.4682, allocations: 180.5 kB / 446.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003897/0.4721, allocations: 2.237 MB / 448.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.4721, allocations: 0 / 448.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00335/0.4755, allocations: 1.506 MB / 450.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.4787, allocations: 419.5 kB / 450.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.4871, allocations: 5.138 MB / 455.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/0.489, allocations: 1.65 MB / 457.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001584/0.4906, allocations: 328.8 kB / 457.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.4911, allocations: 95.42 kB / 457.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4911, allocations: 0 / 457.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of Templates: time 0.04445/0.5356, allocations: 22.54 MB / 480.4 MB, free: 12.94 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches