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.001736/0.001736, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002124, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 62.77 kB / 307.7 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 50.54 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01232/0.1196, allocations: 9.424 MB / 367.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006541/0.1262, allocations: 3.053 MB / 370.7 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.1277, allocations: 47.81 kB / 370.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.1297, allocations: 0.6326 MB / 371.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.1323, allocations: 0.7688 MB / 372.1 MB, free: 84 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1689/0.3013, allocations: 361.5 kB / 372.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.3055, allocations: 2.659 MB / 375.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.3082, allocations: 2.155 MB / 377.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.3107, allocations: 1.201 MB / 378.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.3133, allocations: 1.492 MB / 380 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005374/0.3139, allocations: 313.6 kB / 380.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.315, allocations: 411.8 kB / 380.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009777/0.316, allocations: 0.8757 MB / 381.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.3179, allocations: 1.413 MB / 383 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.323, allocations: 4.062 MB / 387 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.323, allocations: 0 / 387 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.323, allocations: 1.281 kB / 387 MB, free: 7.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.942e-05/0.3232, allocations: 0 / 387 MB, free: 7.055 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.007047/0.3302, allocations: 2.871 MB / 389.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3303, allocations: 13 kB / 389.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.3315, allocations: 317.9 kB / 390.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.3341, allocations: 1.507 MB / 391.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.3342, allocations: 157.8 kB / 391.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.3346, allocations: 197.2 kB / 392.1 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004651/0.3392, allocations: 2.739 MB / 394.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.646e-05/0.3393, allocations: 10.67 kB / 394.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.3395, allocations: 84.16 kB / 394.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3396, allocations: 97.03 kB / 395 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.3433, allocations: 2.337 MB / 397.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.3572, allocations: 8.396 MB / 405.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.3596, allocations: 1.783 MB / 407.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.3615, allocations: 1.068 MB / 408.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.3618, allocations: 125.5 kB / 408.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.3619, allocations: 43.56 kB / 408.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.3619, allocations: 0 / 408.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01384/0.3757, allocations: 6.206 MB / 415 MB, free: 244 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3758, allocations: 64.41 kB / 415 MB, free: 168 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.3784, allocations: 1.521 MB / 416.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.3785, allocations: 45.7 kB / 416.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/0.3794, allocations: 1.002 MB / 417.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.3798, allocations: 416.4 kB / 418 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/0.3802, allocations: 255.4 kB / 418.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3804, allocations: 353.9 kB / 418.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.3816, allocations: 0.7378 MB / 419.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.3831, allocations: 1.052 MB / 420.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.3858, allocations: 1.88 MB / 422.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.3859, allocations: 4 kB / 422.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004301/0.3902, allocations: 2.349 MB / 424.6 MB, free: 6.254 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3902, allocations: 11.98 kB / 424.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.3902, allocations: 12 kB / 424.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.3913, allocations: 415.3 kB / 425 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.3925, allocations: 327.5 kB / 425.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.3983, allocations: 5.07 MB / 430.4 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.3998, allocations: 91.81 kB / 430.5 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.4, allocations: 55.92 kB / 430.6 MB, free: 8 kB / 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.001532/0.4016, allocations: 0.7159 MB / 431.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.402, allocations: 162 kB / 431.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.4061, allocations: 2.141 MB / 433.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4061, allocations: 8 kB / 433.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4061, allocations: 4 kB / 433.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.4062, allocations: 11.97 kB / 433.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008781/0.415, allocations: 4.575 MB / 438.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.415, allocations: 0 / 438.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.416, allocations: 223.9 kB / 438.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.4173, allocations: 474.9 kB / 438.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4174, allocations: 35.92 kB / 438.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00709/0.4245, allocations: 6.677 MB / 445.6 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4246, allocations: 8.062 kB / 445.6 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/0.43, allocations: 3.188 MB / 448.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.431, allocations: 399 kB / 449.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.4315, allocations: 28 kB / 449.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.4324, allocations: 79.91 kB / 449.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.4327, allocations: 112.7 kB / 449.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.4328, allocations: 28 kB / 449.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.4345, allocations: 1.056 MB / 450.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4345, allocations: 0 / 450.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001684/0.4362, allocations: 464 kB / 450.9 MB, free: 11.04 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.0003951/0.4366, allocations: 187.7 kB / 451.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005015/0.4416, allocations: 2.82 MB / 453.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4416, allocations: 1.875 kB / 453.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.444, allocations: 1.492 MB / 455.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.4462, allocations: 456.9 kB / 455.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.4536, allocations: 4.57 MB / 460.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/0.4552, allocations: 1.807 MB / 462.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.4557, allocations: 119.4 kB / 462.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4557, allocations: 0 / 462.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of Templates: time 0.08245/0.5382, allocations: 70.26 MB / 0.5201 GB, free: 9.148 MB / 446.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/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches