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.001485/0.001485, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.001881, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.39 kB / 306.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 50.53 MB / 356.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01211/0.1147, allocations: 9.682 MB / 366.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006605/0.1214, allocations: 3.073 MB / 369.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.123, allocations: 43.81 kB / 369.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.1251, allocations: 0.5516 MB / 370.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.1276, allocations: 0.6682 MB / 370.8 MB, free: 412 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.1286, allocations: 339.7 kB / 371.1 MB, free: 72 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1858/0.3144, allocations: 2.732 MB / 373.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.3163, allocations: 1.427 MB / 375.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.3182, allocations: 0.957 MB / 376.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.3198, allocations: 1.278 MB / 377.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.3202, allocations: 175.5 kB / 377.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.3209, allocations: 284.2 kB / 378 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007475/0.3217, allocations: 0.6713 MB / 378.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.3232, allocations: 1.169 MB / 379.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.3274, allocations: 3.536 MB / 383.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3275, allocations: 0 / 383.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3275, allocations: 0 / 383.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.3276, allocations: 1.156 kB / 383.4 MB, free: 8.23 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.006952/0.3346, allocations: 2.592 MB / 386 MB, free: 6.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3347, allocations: 9.344 kB / 386 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.3357, allocations: 275.9 kB / 386.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.3379, allocations: 1.317 MB / 387.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.338, allocations: 141.8 kB / 387.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.3383, allocations: 189.9 kB / 387.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.3424, allocations: 2.428 MB / 390.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.3424, allocations: 10.22 kB / 390.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.3426, allocations: 77.31 kB / 390.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.3427, allocations: 92.09 kB / 390.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.3459, allocations: 1.962 MB / 392.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.3576, allocations: 7.854 MB / 400.3 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3593, allocations: 1.23 MB / 401.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.361, allocations: 0.9424 MB / 402.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.3613, allocations: 118.1 kB / 402.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3613, allocations: 47.56 kB / 402.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.437e-06/0.3613, allocations: 0 / 402.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.0128/0.3741, allocations: 5.869 MB / 408.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3742, allocations: 68.34 kB / 408.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.3761, allocations: 1.31 MB / 409.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.3762, allocations: 45.7 kB / 409.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006876/0.3769, allocations: 0.9235 MB / 410.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000337/0.3773, allocations: 389 kB / 411.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004268/0.3777, allocations: 247.5 kB / 411.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3779, allocations: 361.9 kB / 411.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3789, allocations: 0.6364 MB / 412.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.3802, allocations: 0.9983 MB / 413.5 MB, free: 440 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.3826, allocations: 1.746 MB / 415.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.3826, allocations: 3.984 kB / 415.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003939/0.3865, allocations: 2.245 MB / 417.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3866, allocations: 8 kB / 417.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3866, allocations: 12 kB / 417.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3879, allocations: 496.2 kB / 418 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.389, allocations: 303.5 kB / 418.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/0.3965, allocations: 6.534 MB / 424.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.3981, allocations: 99.75 kB / 424.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.3983, allocations: 56 kB / 424.9 MB, free: 4.363 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.001449/0.3997, allocations: 0.595 MB / 425.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/0.4003, allocations: 146.2 kB / 425.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.4042, allocations: 1.976 MB / 427.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4042, allocations: 12 kB / 427.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.4042, allocations: 4 kB / 427.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.4042, allocations: 3.984 kB / 427.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00803/0.4123, allocations: 4.139 MB / 431.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4123, allocations: 3.938 kB / 431.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.4131, allocations: 183.7 kB / 432 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.4147, allocations: 0.5421 MB / 432.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4148, allocations: 31.92 kB / 432.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008218/0.4231, allocations: 8.044 MB / 440.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.4231, allocations: 11.92 kB / 440.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.4279, allocations: 2.849 MB / 443.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/0.4287, allocations: 355.2 kB / 443.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.429, allocations: 31.98 kB / 443.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.4299, allocations: 67.92 kB / 443.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.4302, allocations: 76.83 kB / 444 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.4303, allocations: 35.98 kB / 444 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.4318, allocations: 0.8958 MB / 444.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4319, allocations: 0 / 444.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001766/0.4336, allocations: 436 kB / 445.3 MB, free: 15.21 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.0003897/0.434, allocations: 187.1 kB / 445.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00368/0.4377, allocations: 2.221 MB / 447.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.4377, allocations: 4 kB / 447.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.44, allocations: 1.503 MB / 449.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.4423, allocations: 404.9 kB / 449.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.45, allocations: 4.974 MB / 454.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.4521, allocations: 1.65 MB / 456.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001426/0.4535, allocations: 324.8 kB / 456.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.4539, allocations: 99.42 kB / 456.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of SimCode: time 4.348e-06/0.454, allocations: 0 / 456.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of Templates: time 0.04249/0.4965, allocations: 22.88 MB / 479.6 MB, free: 12.99 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