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.001505/0.001505, allocations: 112 kB / 17.06 MB, free: 5.992 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.001769/0.00177, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009153/0.0009154, allocations: 51.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2365, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01068/0.2472, allocations: 8.91 MB / 409.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005459/0.2527, allocations: 2.866 MB / 412.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009318/0.2536, allocations: 47.81 kB / 412.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.2552, allocations: 0.5976 MB / 413.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.257, allocations: 0.73 MB / 413.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.2577, allocations: 319.5 kB / 414.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.26, allocations: 2.358 MB / 416.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.2618, allocations: 1.75 MB / 418.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.263, allocations: 1.063 MB / 419.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.2646, allocations: 1.343 MB / 420.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003741/0.265, allocations: 280 kB / 421 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.2657, allocations: 363.8 kB / 421.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007434/0.2664, allocations: 0.8025 MB / 422.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.2677, allocations: 1.256 MB / 423.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.271, allocations: 3.69 MB / 427.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.271, allocations: 0 / 427.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.271, allocations: 4 kB / 427.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.271, allocations: 0 / 427.1 MB, free: 14.37 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004453/0.2755, allocations: 2.643 MB / 429.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2755, allocations: 8.031 kB / 429.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/0.2762, allocations: 267.4 kB / 430 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.2782, allocations: 1.394 MB / 431.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.2783, allocations: 132 kB / 431.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/0.2786, allocations: 196 kB / 431.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.2823, allocations: 2.406 MB / 434.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.327e-05/0.2824, allocations: 15.92 kB / 434.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.2825, allocations: 72 kB / 434.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.2826, allocations: 83.48 kB / 434.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.286, allocations: 2.016 MB / 436.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.2968, allocations: 7.395 MB / 443.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.2987, allocations: 1.276 MB / 445 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.3005, allocations: 0.9158 MB / 445.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.3007, allocations: 126.1 kB / 446 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.3008, allocations: 51.48 kB / 446.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.306e-06/0.3008, allocations: 0 / 446.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009229/0.31, allocations: 4.919 MB / 451 MB, free: 5.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3101, allocations: 60.41 kB / 451 MB, free: 5.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.3122, allocations: 1.376 MB / 452.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.3123, allocations: 45.7 kB / 452.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/0.3131, allocations: 0.9265 MB / 453.4 MB, free: 3.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.3134, allocations: 364.9 kB / 453.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.3137, allocations: 218.9 kB / 454 MB, free: 2.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3139, allocations: 345.9 kB / 454.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/0.3148, allocations: 0.6311 MB / 454.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.3161, allocations: 0.9259 MB / 455.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.3183, allocations: 1.649 MB / 457.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3183, allocations: 7.938 kB / 457.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004195/0.3225, allocations: 2.395 MB / 459.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3225, allocations: 16.25 kB / 459.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3226, allocations: 8 kB / 459.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.3244, allocations: 0.7042 MB / 460.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.3253, allocations: 235.6 kB / 460.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.3357, allocations: 8.731 MB / 469.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3369, allocations: 95.92 kB / 469.7 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.337, allocations: 44 kB / 469.7 MB, free: 2.566 MB / 382.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.0009828/0.338, allocations: 0.6301 MB / 470.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.3382, allocations: 147.1 kB / 470.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.3414, allocations: 1.905 MB / 472.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3414, allocations: 12 kB / 472.4 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3415, allocations: 0 / 472.4 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.3415, allocations: 3.984 kB / 472.4 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/0.3477, allocations: 4.001 MB / 476.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3477, allocations: 0 / 476.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.3485, allocations: 187.7 kB / 476.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.3497, allocations: 458.8 kB / 477.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.3498, allocations: 31.98 kB / 477.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/0.356, allocations: 6.696 MB / 483.8 MB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.356, allocations: 4.062 kB / 483.8 MB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.3603, allocations: 2.78 MB / 486.6 MB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.361, allocations: 364 kB / 486.9 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.3612, allocations: 27.98 kB / 487 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.3619, allocations: 71.86 kB / 487 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3621, allocations: 80.88 kB / 487.1 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.3622, allocations: 24 kB / 487.1 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001327/0.3635, allocations: 0.9582 MB / 488.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3635, allocations: 0 / 488.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001294/0.3649, allocations: 432 kB / 488.5 MB, free: 15.16 MB / 414.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.0003336/0.3652, allocations: 190.8 kB / 488.7 MB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.3683, allocations: 2.004 MB / 490.7 MB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3683, allocations: 0.625 kB / 490.7 MB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.3702, allocations: 1.351 MB / 492.1 MB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.3717, allocations: 379.4 kB / 492.4 MB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.3774, allocations: 4.059 MB / 496.5 MB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.3786, allocations: 1.696 MB / 498.2 MB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007788/0.3794, allocations: 316 kB / 498.5 MB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.3797, allocations: 95.42 kB / 498.6 MB, free: 4.902 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3797, allocations: 0 / 498.6 MB, free: 4.902 MB / 414.1 MB Notification: Performance of Templates: time 0.03825/0.418, allocations: 24.41 MB / 0.5107 GB, free: 12.7 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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