Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 204 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2626, allocations: 50.54 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01209/0.2746, allocations: 9.454 MB / 419.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.2811, allocations: 3.053 MB / 422.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.2824, allocations: 47.81 kB / 422.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.2842, allocations: 0.6678 MB / 423.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.287, allocations: 0.8234 MB / 424.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.2879, allocations: 359.5 kB / 424.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.2912, allocations: 2.669 MB / 427.3 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.2933, allocations: 1.526 MB / 428.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.2951, allocations: 1.207 MB / 430 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.2971, allocations: 1.495 MB / 431.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.2975, allocations: 308 kB / 431.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.2983, allocations: 415.8 kB / 432.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.2992, allocations: 0.8881 MB / 433.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.3008, allocations: 1.412 MB / 434.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.3055, allocations: 4.114 MB / 438.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3055, allocations: 0 / 438.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3055, allocations: 4 kB / 438.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.3056, allocations: 0 / 438.6 MB, free: 4.836 MB / 350.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.005885/0.3115, allocations: 2.936 MB / 441.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3115, allocations: 8.031 kB / 441.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.3126, allocations: 331.1 kB / 441.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.3153, allocations: 1.564 MB / 443.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3154, allocations: 152.3 kB / 443.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.3157, allocations: 211.8 kB / 443.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/0.3203, allocations: 2.74 MB / 446.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.3203, allocations: 7.953 kB / 446.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.3205, allocations: 87.98 kB / 446.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.3206, allocations: 91.94 kB / 446.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.3245, allocations: 2.326 MB / 449.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.3377, allocations: 8.335 MB / 457.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.34, allocations: 1.713 MB / 459.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.3419, allocations: 1.003 MB / 460.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.3422, allocations: 126 kB / 460.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3422, allocations: 47.56 kB / 460.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.374e-06/0.3422, allocations: 0 / 460.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01333/0.3555, allocations: 6.238 MB / 466.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.3556, allocations: 64.41 kB / 466.6 MB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.3579, allocations: 1.536 MB / 468.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.358, allocations: 45.7 kB / 468.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008956/0.3589, allocations: 1.017 MB / 469.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.3593, allocations: 436.3 kB / 469.6 MB, free: 5.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/0.3597, allocations: 251.5 kB / 469.9 MB, free: 4.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3599, allocations: 361.9 kB / 470.2 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3611, allocations: 0.73 MB / 470.9 MB, free: 3.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.3626, allocations: 1.063 MB / 472 MB, free: 2.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.3654, allocations: 1.875 MB / 473.9 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3654, allocations: 4 kB / 473.9 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004244/0.3696, allocations: 2.346 MB / 476.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3697, allocations: 8 kB / 476.2 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.3697, allocations: 12 kB / 476.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3707, allocations: 407.5 kB / 476.7 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.372, allocations: 331.5 kB / 477 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.378, allocations: 5.07 MB / 482 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.3793, allocations: 91.8 kB / 482.1 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3794, allocations: 56 kB / 482.2 MB, free: 7.934 MB / 398.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.001249/0.3807, allocations: 0.7159 MB / 482.9 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.381, allocations: 170.9 kB / 483.1 MB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.385, allocations: 2.129 MB / 485.2 MB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.385, allocations: 12 kB / 485.2 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.385, allocations: 7.938 kB / 485.2 MB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.385, allocations: 11.92 kB / 485.2 MB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/0.393, allocations: 4.558 MB / 489.8 MB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.393, allocations: 4 kB / 489.8 MB, free: 196 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.394, allocations: 219.7 kB / 490 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.3953, allocations: 470.5 kB / 490.5 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.3954, allocations: 35.97 kB / 490.5 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007414/0.4028, allocations: 6.686 MB / 497.2 MB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.4028, allocations: 7.984 kB / 497.2 MB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/0.4083, allocations: 3.177 MB / 0.4886 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009792/0.4092, allocations: 407.9 kB / 0.489 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.4094, allocations: 28 kB / 0.4891 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.4103, allocations: 79.91 kB / 0.4891 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.4106, allocations: 100.8 kB / 0.4892 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.4106, allocations: 35.98 kB / 0.4893 GB, free: 4.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.4122, allocations: 1.056 MB / 0.4903 GB, free: 3.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4122, allocations: 0 / 0.4903 GB, free: 3.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001448/0.4137, allocations: 467.9 kB / 0.4907 GB, free: 2.949 MB / 414.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.0004025/0.4141, allocations: 190.9 kB / 0.4909 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.4179, allocations: 2.192 MB / 0.4931 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4179, allocations: 0 / 0.4931 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.4202, allocations: 1.441 MB / 0.4945 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.4221, allocations: 446.9 kB / 0.4949 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/0.4292, allocations: 4.555 MB / 0.4994 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.4309, allocations: 1.826 MB / 0.5011 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001086/0.432, allocations: 401.6 kB / 0.5015 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.4323, allocations: 107.4 kB / 0.5016 GB, free: 7.582 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4323, allocations: 4 kB / 0.5016 GB, free: 7.578 MB / 430.1 MB Notification: Performance of Templates: time 0.04662/0.479, allocations: 26.26 MB / 0.5273 GB, free: 13.58 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches