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.001519/0.001519, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001742/0.001742, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2584, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0101/0.2685, allocations: 8.897 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.2742, allocations: 2.866 MB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.2757, allocations: 47.81 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.2779, allocations: 0.6017 MB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.2807, allocations: 0.73 MB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2818, allocations: 315.5 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.2851, allocations: 2.358 MB / 417.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.2878, allocations: 1.762 MB / 419 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.2897, allocations: 1.067 MB / 420.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.2921, allocations: 1.347 MB / 421.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007068/0.2929, allocations: 280 kB / 421.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.294, allocations: 363.8 kB / 422 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.2951, allocations: 0.8025 MB / 422.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.2973, allocations: 1.256 MB / 424.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.3014, allocations: 3.685 MB / 427.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3015, allocations: 0 / 427.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3015, allocations: 0 / 427.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.487e-05/0.3016, allocations: 0 / 427.8 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.005127/0.3067, allocations: 2.579 MB / 430.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3067, allocations: 8.031 kB / 430.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.3075, allocations: 262.1 kB / 430.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3098, allocations: 1.385 MB / 432 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3099, allocations: 136 kB / 432.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.3103, allocations: 192 kB / 432.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004253/0.3146, allocations: 2.41 MB / 434.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.3147, allocations: 11.92 kB / 434.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.3148, allocations: 72 kB / 434.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3149, allocations: 83.5 kB / 434.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/0.3185, allocations: 2.02 MB / 436.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.3305, allocations: 7.362 MB / 444.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.3324, allocations: 1.273 MB / 445.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.3341, allocations: 0.9197 MB / 446.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.3343, allocations: 122.1 kB / 446.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3343, allocations: 43.5 kB / 446.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/0.3344, allocations: 0 / 446.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009474/0.3438, allocations: 4.896 MB / 451.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.3439, allocations: 64.41 kB / 451.6 MB, free: 5.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.3462, allocations: 1.369 MB / 453 MB, free: 4.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.3464, allocations: 41.7 kB / 453 MB, free: 4.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000694/0.3471, allocations: 0.9008 MB / 453.9 MB, free: 3.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.3474, allocations: 354.9 kB / 454.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.3478, allocations: 218.8 kB / 454.5 MB, free: 3.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.348, allocations: 349.9 kB / 454.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.3491, allocations: 0.6311 MB / 455.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3503, allocations: 0.922 MB / 456.4 MB, free: 1.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.3526, allocations: 1.649 MB / 458 MB, free: 15.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.3527, allocations: 0 / 458 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004504/0.3572, allocations: 2.398 MB / 460.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.3572, allocations: 11.94 kB / 460.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.3573, allocations: 8 kB / 460.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.3591, allocations: 0.7084 MB / 461.1 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.3601, allocations: 239.6 kB / 461.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.3718, allocations: 8.722 MB / 470.1 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.373, allocations: 88 kB / 470.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.3732, allocations: 51.92 kB / 470.2 MB, free: 2.754 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.001087/0.3743, allocations: 0.6262 MB / 470.8 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.3747, allocations: 146.2 kB / 471 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.3781, allocations: 1.889 MB / 472.9 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3782, allocations: 12 kB / 472.9 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3782, allocations: 8 kB / 472.9 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3782, allocations: 3.984 kB / 472.9 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007355/0.3856, allocations: 4 MB / 476.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3856, allocations: 4.219 kB / 476.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.3864, allocations: 187.7 kB / 477.1 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.3877, allocations: 462.9 kB / 477.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/0.3878, allocations: 23.98 kB / 477.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/0.3944, allocations: 6.693 MB / 484.3 MB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3945, allocations: 7.984 kB / 484.3 MB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.399, allocations: 2.779 MB / 487 MB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/0.3998, allocations: 351.3 kB / 487.4 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/0.4001, allocations: 32 kB / 487.4 MB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/0.401, allocations: 63.92 kB / 487.5 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.4012, allocations: 84.86 kB / 487.6 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/0.4013, allocations: 27.98 kB / 487.6 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.4029, allocations: 0.9582 MB / 488.6 MB, free: 15.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4029, allocations: 0 / 488.6 MB, free: 15.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001486/0.4044, allocations: 431.9 kB / 489 MB, free: 15.38 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.0003733/0.4048, allocations: 187 kB / 489.2 MB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.4083, allocations: 2.001 MB / 491.2 MB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4083, allocations: 4 kB / 491.2 MB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.4105, allocations: 1.343 MB / 492.5 MB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.413, allocations: 381.6 kB / 492.9 MB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.4199, allocations: 4.049 MB / 496.9 MB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.4214, allocations: 1.669 MB / 498.6 MB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.4219, allocations: 103.4 kB / 498.7 MB, free: 5.465 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4219, allocations: 3.938 kB / 498.7 MB, free: 5.461 MB / 414.1 MB Notification: Performance of Templates: time 0.06068/0.4826, allocations: 52.76 MB / 0.5385 GB, free: 0.7188 MB / 462.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