Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.3 MB, free: 9.168 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.48 kB / 306.3 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 50.53 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01154/0.1175, allocations: 9.374 MB / 366.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.1232, allocations: 3.03 MB / 369.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.1246, allocations: 43.81 kB / 369.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.1266, allocations: 0.5555 MB / 369.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.1289, allocations: 0.7111 MB / 370.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.1299, allocations: 315.6 kB / 370.8 MB, free: 228 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1685/0.2984, allocations: 3.079 MB / 373.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.3011, allocations: 1.813 MB / 375.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.3033, allocations: 1.041 MB / 376.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.3055, allocations: 1.44 MB / 378.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.306, allocations: 192 kB / 378.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008604/0.3069, allocations: 300.1 kB / 378.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.3077, allocations: 0.7624 MB / 379.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.3093, allocations: 1.279 MB / 380.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.3137, allocations: 3.957 MB / 384.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3137, allocations: 0 / 384.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.3137, allocations: 1.094 kB / 384.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.139e-05/0.3138, allocations: 0 / 384.7 MB, free: 8.086 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0056/0.3194, allocations: 2.873 MB / 387.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3194, allocations: 9.25 kB / 387.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.3205, allocations: 324.7 kB / 387.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.3227, allocations: 1.507 MB / 389.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3228, allocations: 154.4 kB / 389.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.3231, allocations: 196.6 kB / 389.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.3271, allocations: 2.736 MB / 392.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.3272, allocations: 7.875 kB / 392.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.3273, allocations: 84.94 kB / 392.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/0.3274, allocations: 105 kB / 392.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.3308, allocations: 2.325 MB / 395 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.3423, allocations: 8.409 MB / 403.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.3443, allocations: 1.783 MB / 405.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.3461, allocations: 1.056 MB / 406.2 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.3463, allocations: 130.1 kB / 406.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3464, allocations: 43.56 kB / 406.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/0.3464, allocations: 0 / 406.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.0126/0.359, allocations: 6.2 MB / 412.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3591, allocations: 76.33 kB / 412.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.3614, allocations: 1.525 MB / 414.2 MB, free: 48 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.326e-05/0.3615, allocations: 42.25 kB / 414.2 MB, free: 0 / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.3622, allocations: 0.9918 MB / 415.2 MB, free: 15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.3625, allocations: 420.9 kB / 415.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/0.3629, allocations: 251.5 kB / 415.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3631, allocations: 361.9 kB / 416.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3642, allocations: 0.7378 MB / 417 MB, free: 13.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.3655, allocations: 1.055 MB / 418 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.3681, allocations: 1.874 MB / 419.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3681, allocations: 0 / 419.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003953/0.372, allocations: 2.357 MB / 422.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3721, allocations: 8 kB / 422.3 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3721, allocations: 8 kB / 422.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3731, allocations: 416.5 kB / 422.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3744, allocations: 323.5 kB / 423 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/0.3792, allocations: 4.655 MB / 427.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.3805, allocations: 95.81 kB / 427.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.3807, allocations: 48 kB / 427.8 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001309/0.382, allocations: 0.7159 MB / 428.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/0.3824, allocations: 166 kB / 428.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/0.3861, allocations: 2.142 MB / 430.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3861, allocations: 12 kB / 430.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.3862, allocations: 4 kB / 430.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.3862, allocations: 7.922 kB / 430.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/0.3945, allocations: 4.584 MB / 435.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3946, allocations: 7.938 kB / 435.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/0.3955, allocations: 223.9 kB / 435.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.3968, allocations: 468.2 kB / 436.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.3969, allocations: 31.98 kB / 436.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006249/0.4032, allocations: 6.143 MB / 442.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4032, allocations: 4.062 kB / 442.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/0.4086, allocations: 3.177 MB / 445.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.41, allocations: 406.9 kB / 445.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000583/0.4106, allocations: 24 kB / 445.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.4118, allocations: 75.91 kB / 446 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.4122, allocations: 108.8 kB / 446.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/0.4123, allocations: 32 kB / 446.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002173/0.4144, allocations: 1.064 MB / 447.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4144, allocations: 0 / 447.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002088/0.4165, allocations: 464 kB / 447.6 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0004386/0.417, allocations: 187.8 kB / 447.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.4206, allocations: 2.265 MB / 450.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4206, allocations: 1.875 kB / 450.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.423, allocations: 1.484 MB / 451.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.4257, allocations: 415.7 kB / 452 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009253/0.435, allocations: 5.432 MB / 457.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.4371, allocations: 1.823 MB / 459.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00138/0.4385, allocations: 401.6 kB / 459.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.4389, allocations: 111.4 kB / 459.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4389, allocations: 0 / 459.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Templates: time 0.04685/0.4858, allocations: 24.59 MB / 484.3 MB, free: 8.812 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches