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.001443/0.001443, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001868, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.36 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09646, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01029/0.1068, allocations: 9.416 MB / 368.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.1124, allocations: 3.061 MB / 371.4 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008038/0.1132, allocations: 47.81 kB / 371.4 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.1145, allocations: 0.6327 MB / 372.1 MB, free: 104 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1656/0.2801, allocations: 0.7656 MB / 372.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.2811, allocations: 365.1 kB / 373.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.2844, allocations: 2.669 MB / 375.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.2867, allocations: 2.153 MB / 378 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.2886, allocations: 1.195 MB / 379.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.2904, allocations: 1.498 MB / 380.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.2908, allocations: 307.7 kB / 381 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.2916, allocations: 411.4 kB / 381.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.2925, allocations: 0.8878 MB / 382.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.2939, allocations: 1.41 MB / 383.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003814/0.2977, allocations: 4.097 MB / 387.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2977, allocations: 0 / 387.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2977, allocations: 0 / 387.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.589e-05/0.2978, allocations: 1.406 kB / 387.8 MB, free: 7.023 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.004938/0.3027, allocations: 2.872 MB / 390.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3028, allocations: 8.969 kB / 390.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/0.3037, allocations: 320.4 kB / 391 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.3061, allocations: 1.551 MB / 392.5 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3062, allocations: 151.7 kB / 392.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/0.3065, allocations: 203.5 kB / 392.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003697/0.3102, allocations: 2.736 MB / 395.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.363e-05/0.3102, allocations: 11.91 kB / 395.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.3104, allocations: 89.67 kB / 395.7 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.3105, allocations: 91.91 kB / 395.8 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.3137, allocations: 2.329 MB / 398.1 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.3258, allocations: 8.31 MB / 406.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.328, allocations: 1.788 MB / 408.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.3298, allocations: 1.061 MB / 409.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.3301, allocations: 118.1 kB / 409.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3301, allocations: 51.55 kB / 409.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.907e-06/0.3302, allocations: 0 / 409.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.0122/0.3424, allocations: 6.206 MB / 415.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3424, allocations: 64.41 kB / 415.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.3452, allocations: 1.525 MB / 417.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.3454, allocations: 49.7 kB / 417.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.3464, allocations: 0.9971 MB / 418.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005059/0.3469, allocations: 419.2 kB / 418.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.3474, allocations: 247.5 kB / 419 MB, free: 12.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3476, allocations: 364.5 kB / 419.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3487, allocations: 0.73 MB / 420 MB, free: 11.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.35, allocations: 1.059 MB / 421.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.3527, allocations: 1.878 MB / 423 MB, free: 8.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.3527, allocations: 4 kB / 423 MB, free: 8.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003937/0.3566, allocations: 2.349 MB / 425.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.3567, allocations: 11.94 kB / 425.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.3567, allocations: 12 kB / 425.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/0.3577, allocations: 411.1 kB / 425.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.359, allocations: 331.5 kB / 426.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005384/0.3644, allocations: 5.059 MB / 431.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.366, allocations: 87.81 kB / 431.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.3662, allocations: 59.94 kB / 431.3 MB, free: 15.42 MB / 350.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.00156/0.3678, allocations: 0.7121 MB / 432 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.3683, allocations: 162 kB / 432.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.3723, allocations: 2.141 MB / 434.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3723, allocations: 12 kB / 434.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3723, allocations: 3.984 kB / 434.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.3723, allocations: 7.984 kB / 434.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009005/0.3813, allocations: 4.56 MB / 438.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3814, allocations: 0 / 438.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.3824, allocations: 227.6 kB / 439.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.3837, allocations: 466.3 kB / 439.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.3838, allocations: 35.92 kB / 439.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006946/0.3908, allocations: 6.687 MB / 446.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3908, allocations: 12.03 kB / 446.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005352/0.3961, allocations: 3.186 MB / 449.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.3974, allocations: 395 kB / 449.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004621/0.3979, allocations: 31.98 kB / 449.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.399, allocations: 71.92 kB / 450 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.3993, allocations: 116.7 kB / 450.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.3994, allocations: 35.98 kB / 450.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.4013, allocations: 1.052 MB / 451.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4013, allocations: 0 / 451.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001706/0.403, allocations: 460 kB / 451.6 MB, free: 10.47 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.0003895/0.4034, allocations: 191.6 kB / 451.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.4069, allocations: 2.274 MB / 454.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4069, allocations: 1.875 kB / 454.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.4092, allocations: 1.484 MB / 455.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.4115, allocations: 456.4 kB / 456 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.4193, allocations: 4.465 MB / 460.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.4215, allocations: 1.834 MB / 462.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001369/0.4229, allocations: 393.6 kB / 462.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.4234, allocations: 111.4 kB / 462.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4234, allocations: 0 / 462.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Templates: time 0.0436/0.467, allocations: 25.64 MB / 488.4 MB, free: 5.707 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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