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.001548/0.001548, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001783/0.001783, allocations: 192 kB / 18.63 MB, free: 4.375 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 46.52 kB / 302.1 MB, free: 5.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1209, allocations: 49.44 MB / 351.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009907/0.1309, allocations: 8.89 MB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.136, allocations: 2.882 MB / 363.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008262/0.1368, allocations: 43.81 kB / 363.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.1383, allocations: 0.6017 MB / 363.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.1405, allocations: 0.7222 MB / 364.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.1413, allocations: 323.5 kB / 365 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1439, allocations: 2.356 MB / 367.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1459, allocations: 1.77 MB / 369.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.1474, allocations: 1.055 MB / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1836/0.331, allocations: 1.338 MB / 371.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008914/0.3319, allocations: 278.6 kB / 371.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.333, allocations: 372 kB / 372.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008469/0.3339, allocations: 0.7998 MB / 372.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.3356, allocations: 1.26 MB / 374.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.3397, allocations: 3.672 MB / 377.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3397, allocations: 1.375 kB / 377.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3397, allocations: 0 / 377.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.667e-05/0.3398, allocations: 0.9375 kB / 377.8 MB, free: 12.67 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.004973/0.3448, allocations: 2.582 MB / 380.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3448, allocations: 10.38 kB / 380.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.3455, allocations: 260.7 kB / 380.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.348, allocations: 1.385 MB / 382.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.3481, allocations: 134.4 kB / 382.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.3484, allocations: 186.5 kB / 382.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/0.3521, allocations: 2.411 MB / 384.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/0.3522, allocations: 7.172 kB / 384.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.3524, allocations: 72.62 kB / 384.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.038e-05/0.3525, allocations: 83.33 kB / 385 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.356, allocations: 2.023 MB / 387 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.3675, allocations: 7.362 MB / 394.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.3694, allocations: 1.277 MB / 395.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3709, allocations: 0.9092 MB / 396.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.3711, allocations: 117.3 kB / 396.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3712, allocations: 42.06 kB / 396.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.615e-06/0.3712, allocations: 0 / 396.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.008149/0.3793, allocations: 4.891 MB / 401.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3794, allocations: 61.47 kB / 401.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.3814, allocations: 1.372 MB / 403 MB, free: 14.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.741e-05/0.3815, allocations: 49.69 kB / 403.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/0.3821, allocations: 0.8893 MB / 404 MB, free: 13.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.3824, allocations: 356 kB / 404.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.3828, allocations: 218.8 kB / 404.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.383, allocations: 357.9 kB / 404.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.3839, allocations: 0.6272 MB / 405.5 MB, free: 12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3851, allocations: 0.9349 MB / 406.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.3873, allocations: 1.645 MB / 408.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3873, allocations: 4 kB / 408.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004201/0.3915, allocations: 2.388 MB / 410.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3916, allocations: 8 kB / 410.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.3916, allocations: 12.94 kB / 410.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.3934, allocations: 0.7121 MB / 411.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.3943, allocations: 243.8 kB / 411.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.4048, allocations: 8.719 MB / 420.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.406, allocations: 75.92 kB / 420.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.4061, allocations: 54.92 kB / 420.3 MB, free: 12.82 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.001119/0.4073, allocations: 0.6281 MB / 420.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.4075, allocations: 142.2 kB / 421 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.4106, allocations: 1.898 MB / 422.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4107, allocations: 12 kB / 423 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4107, allocations: 4 kB / 423 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4107, allocations: 3.984 kB / 423 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00641/0.4171, allocations: 4.006 MB / 427 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4171, allocations: 0 / 427 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.4179, allocations: 185.9 kB / 427.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.4191, allocations: 469.9 kB / 427.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.4192, allocations: 27.92 kB / 427.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.4253, allocations: 6.684 MB / 434.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4253, allocations: 4 kB / 434.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.4295, allocations: 2.78 MB / 437.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.4306, allocations: 355.2 kB / 437.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.4308, allocations: 24 kB / 437.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.4317, allocations: 75.91 kB / 437.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.4319, allocations: 79.7 kB / 437.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.432, allocations: 31.98 kB / 437.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001489/0.4335, allocations: 0.9504 MB / 438.6 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4335, allocations: 0 / 438.6 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001435/0.435, allocations: 436 kB / 439 MB, free: 9.574 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.0003563/0.4353, allocations: 175.9 kB / 439.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.4386, allocations: 2.016 MB / 441.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4386, allocations: 0 / 441.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.4406, allocations: 1.351 MB / 442.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.4424, allocations: 374.5 kB / 442.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005951/0.4484, allocations: 4.003 MB / 446.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.4498, allocations: 1.696 MB / 448.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008796/0.4506, allocations: 316 kB / 448.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.4509, allocations: 99.42 kB / 449 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4509, allocations: 0 / 449 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Templates: time 0.03862/0.4896, allocations: 24.03 MB / 473.1 MB, free: 7.723 MB / 382.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 -s cvode -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