Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 101 kB / 17.59 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 191.3 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 242.2 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 46.45 kB / 301.3 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.0919, allocations: 49.45 MB / 350.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01096/0.1029, allocations: 8.89 MB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.109, allocations: 2.867 MB / 362.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.1106, allocations: 43.81 kB / 362.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.1129, allocations: 0.5978 MB / 363.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.1159, allocations: 0.73 MB / 363.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1169, allocations: 315.6 kB / 364.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.1202, allocations: 2.358 MB / 366.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.1228, allocations: 1.762 MB / 368.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.1248, allocations: 1.067 MB / 369.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.1272, allocations: 1.335 MB / 370.7 MB, free: 236 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1856/0.3129, allocations: 277.5 kB / 371 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3145, allocations: 363.8 kB / 371.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009873/0.3155, allocations: 0.7995 MB / 372.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.3175, allocations: 1.26 MB / 373.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.3227, allocations: 3.644 MB / 377 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3227, allocations: 0 / 377 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3228, allocations: 2.094 kB / 377 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.3229, allocations: 0 / 377 MB, free: 12.88 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00766/0.3306, allocations: 2.585 MB / 379.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3306, allocations: 8.875 kB / 379.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.3315, allocations: 257.5 kB / 379.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.3341, allocations: 1.342 MB / 381.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.3342, allocations: 138.4 kB / 381.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.3345, allocations: 185.3 kB / 381.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/0.3389, allocations: 2.414 MB / 383.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.339, allocations: 2.219 kB / 383.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.3392, allocations: 75.02 kB / 384 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3393, allocations: 87.77 kB / 384.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.3428, allocations: 2.023 MB / 386.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.3545, allocations: 7.447 MB / 393.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3563, allocations: 1.277 MB / 394.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3578, allocations: 0.9122 MB / 395.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.3581, allocations: 118.6 kB / 395.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3581, allocations: 43.66 kB / 395.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.475e-06/0.3581, allocations: 0 / 395.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.008509/0.3666, allocations: 4.89 MB / 400.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3667, allocations: 62.41 kB / 400.9 MB, free: 488 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.3686, allocations: 1.374 MB / 402.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.3687, allocations: 49.7 kB / 402.3 MB, free: 15.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006495/0.3694, allocations: 0.8814 MB / 403.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.3697, allocations: 359.8 kB / 403.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.37, allocations: 218.8 kB / 403.7 MB, free: 14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3702, allocations: 353.9 kB / 404.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009417/0.3711, allocations: 0.6323 MB / 404.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.3723, allocations: 0.9325 MB / 405.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.3745, allocations: 1.648 MB / 407.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3745, allocations: 0 / 407.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004155/0.3787, allocations: 2.386 MB / 409.7 MB, free: 7.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3787, allocations: 8 kB / 409.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3787, allocations: 8 kB / 409.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.3806, allocations: 0.7199 MB / 410.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/0.3815, allocations: 236.5 kB / 410.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.392, allocations: 8.74 MB / 419.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.3935, allocations: 75.92 kB / 419.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.3937, allocations: 51.92 kB / 419.5 MB, free: 13.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.3949, allocations: 0.6252 MB / 420.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.3953, allocations: 150.2 kB / 420.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.3987, allocations: 1.897 MB / 422.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3988, allocations: 8 kB / 422.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3988, allocations: 4 kB / 422.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3988, allocations: 7.969 kB / 422.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008114/0.4069, allocations: 4.016 MB / 426.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.407, allocations: 0 / 426.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.4078, allocations: 184.2 kB / 426.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4091, allocations: 465.6 kB / 426.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.465e-05/0.4092, allocations: 27.98 kB / 426.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.4161, allocations: 6.692 MB / 433.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4161, allocations: 6.625 kB / 433.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004874/0.421, allocations: 2.776 MB / 436.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4222, allocations: 359.2 kB / 436.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/0.4227, allocations: 20 kB / 436.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.4239, allocations: 71.91 kB / 436.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.4241, allocations: 80.45 kB / 436.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.4242, allocations: 35.98 kB / 436.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.4262, allocations: 0.9504 MB / 437.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4262, allocations: 0 / 437.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002028/0.4283, allocations: 436 kB / 438.3 MB, free: 10.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0004564/0.4287, allocations: 182.9 kB / 438.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.4334, allocations: 2.373 MB / 440.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4335, allocations: 0 / 440.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.4356, allocations: 1.345 MB / 442.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.438, allocations: 388.2 kB / 442.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/0.4455, allocations: 4.088 MB / 446.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.4472, allocations: 1.677 MB / 448.3 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.4478, allocations: 107.4 kB / 448.4 MB, free: 332 kB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4478, allocations: 0 / 448.4 MB, free: 332 kB / 350.1 MB Notification: Performance of Templates: time 0.06048/0.5083, allocations: 52.57 MB / 0.4893 GB, free: 11.8 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches