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.001229/0.001229, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 65.12 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01126/0.1262, allocations: 9.729 MB / 367.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006031/0.1323, allocations: 3.093 MB / 370.3 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.1341, allocations: 47.81 kB / 370.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.1364, allocations: 0.6365 MB / 371 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2132/0.3496, allocations: 0.734 MB / 371.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3508, allocations: 385 kB / 372.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003082/0.3539, allocations: 2.422 MB / 374.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.3562, allocations: 1.754 MB / 376.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.3581, allocations: 1.074 MB / 377.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.3601, allocations: 1.318 MB / 378.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.3606, allocations: 279.3 kB / 378.9 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009697/0.3616, allocations: 377 kB / 379.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.3624, allocations: 0.7786 MB / 380.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.3637, allocations: 1.269 MB / 381.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.3674, allocations: 3.62 MB / 385 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3674, allocations: 0 / 385 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3674, allocations: 4 kB / 385 MB, free: 7.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.3675, allocations: 1.031 kB / 385 MB, free: 7.445 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.004643/0.3721, allocations: 2.595 MB / 387.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3722, allocations: 8.969 kB / 387.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008057/0.373, allocations: 276.8 kB / 387.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.3748, allocations: 1.312 MB / 389.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.3749, allocations: 142.3 kB / 389.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.3751, allocations: 192.7 kB / 389.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.3788, allocations: 2.43 MB / 391.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/0.3788, allocations: 7.969 kB / 391.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.379, allocations: 75.44 kB / 392 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-05/0.3791, allocations: 95.89 kB / 392.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/0.3821, allocations: 1.963 MB / 394.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.3931, allocations: 7.852 MB / 401.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3948, allocations: 1.23 MB / 403.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.3965, allocations: 0.9375 MB / 404.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.3967, allocations: 121.7 kB / 404.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3968, allocations: 47.56 kB / 404.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.505e-06/0.3968, allocations: 0 / 404.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01284/0.4096, allocations: 5.873 MB / 410.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4097, allocations: 68.41 kB / 410.2 MB, free: 4.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.4117, allocations: 1.298 MB / 411.5 MB, free: 2.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/0.4118, allocations: 45.7 kB / 411.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/0.4125, allocations: 0.9264 MB / 412.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.4129, allocations: 400.2 kB / 412.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.4133, allocations: 243.5 kB / 413.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4135, allocations: 362.4 kB / 413.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.4146, allocations: 0.6403 MB / 414.1 MB, free: 388 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.4158, allocations: 0.9969 MB / 415.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.4183, allocations: 1.739 MB / 416.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4183, allocations: 4 kB / 416.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00394/0.4222, allocations: 2.245 MB / 419.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.4223, allocations: 19 kB / 419.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.4223, allocations: 12 kB / 419.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.4236, allocations: 499.1 kB / 419.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4247, allocations: 299.5 kB / 419.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/0.4322, allocations: 7.143 MB / 427 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4336, allocations: 79.92 kB / 427.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.4338, allocations: 55.98 kB / 427.1 MB, free: 2.559 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.001247/0.4351, allocations: 0.6067 MB / 427.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.4355, allocations: 142.2 kB / 427.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.4392, allocations: 1.968 MB / 429.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4392, allocations: 12 kB / 429.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.4392, allocations: 4 kB / 429.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.4392, allocations: 7.969 kB / 429.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00797/0.4472, allocations: 4.138 MB / 434 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4472, allocations: 4 kB / 434 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008475/0.4481, allocations: 192 kB / 434.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.4498, allocations: 0.5388 MB / 434.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.4499, allocations: 31.98 kB / 434.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009583/0.4595, allocations: 8.769 MB / 443.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.4595, allocations: 0 / 443.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004704/0.4643, allocations: 2.853 MB / 446.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008557/0.4651, allocations: 355.2 kB / 446.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/0.4655, allocations: 31.98 kB / 446.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/0.4665, allocations: 63.92 kB / 446.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.4667, allocations: 88.84 kB / 446.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.4668, allocations: 36 kB / 447 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.4682, allocations: 0.8918 MB / 447.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4683, allocations: 0 / 447.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001689/0.47, allocations: 440 kB / 448.3 MB, free: 12.64 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.0004145/0.4704, allocations: 192.3 kB / 448.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004261/0.4746, allocations: 2.576 MB / 451 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4747, allocations: 0 / 451 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.4771, allocations: 1.503 MB / 452.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.4791, allocations: 426.2 kB / 453 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/0.4878, allocations: 4.157 MB / 457.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.4895, allocations: 1.654 MB / 458.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001184/0.4907, allocations: 320.8 kB / 459.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.491, allocations: 95.42 kB / 459.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.491, allocations: 0 / 459.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of Templates: time 0.04101/0.5321, allocations: 23.78 MB / 483 MB, free: 9.992 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