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.00127/0.00127, allocations: 107.7 kB / 17.68 MB, free: 5.332 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.00138/0.00138, allocations: 192 kB / 18.62 MB, free: 4.41 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.316/1.316, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 46.7 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0113/0.1165, allocations: 8.894 MB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006328/0.1228, allocations: 2.866 MB / 363.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1245, allocations: 43.81 kB / 363.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.1264, allocations: 0.6017 MB / 363.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.1293, allocations: 0.73 MB / 364.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.1301, allocations: 323.5 kB / 365 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.133, allocations: 2.354 MB / 367.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.1348, allocations: 1.77 MB / 369.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.1363, allocations: 1.055 MB / 370.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1641/0.3004, allocations: 1.342 MB / 371.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007551/0.3012, allocations: 278.1 kB / 371.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000955/0.3021, allocations: 372.6 kB / 372.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008067/0.3029, allocations: 0.7925 MB / 372.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.3043, allocations: 1.265 MB / 374.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.3082, allocations: 3.668 MB / 377.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3082, allocations: 0 / 377.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3082, allocations: 2.812 kB / 377.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.942e-05/0.3083, allocations: 5.828 kB / 377.8 MB, free: 12.74 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.004892/0.3132, allocations: 2.587 MB / 380.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3133, allocations: 9.188 kB / 380.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/0.314, allocations: 257.4 kB / 380.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.3164, allocations: 1.383 MB / 382.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3165, allocations: 136.1 kB / 382.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.3168, allocations: 185.7 kB / 382.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.3207, allocations: 2.412 MB / 384.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/0.3208, allocations: 3.844 kB / 384.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.321, allocations: 74.91 kB / 384.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.679e-05/0.3211, allocations: 90.31 kB / 385 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.3241, allocations: 2.014 MB / 387 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.3342, allocations: 7.364 MB / 394.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3359, allocations: 1.279 MB / 395.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.3373, allocations: 0.9005 MB / 396.5 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.3375, allocations: 122.2 kB / 396.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3376, allocations: 44.94 kB / 396.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.926e-06/0.3376, allocations: 7.031 kB / 396.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.008077/0.3457, allocations: 4.894 MB / 401.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3457, allocations: 62.03 kB / 401.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.3479, allocations: 1.37 MB / 403 MB, free: 14.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/0.348, allocations: 41.7 kB / 403.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.3487, allocations: 0.8956 MB / 404 MB, free: 13.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.349, allocations: 353.7 kB / 404.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/0.3494, allocations: 218.8 kB / 404.5 MB, free: 13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3496, allocations: 349.9 kB / 404.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009789/0.3506, allocations: 0.6376 MB / 405.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.3517, allocations: 0.9241 MB / 406.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.3539, allocations: 1.645 MB / 408.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3539, allocations: 7.938 kB / 408.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004036/0.3579, allocations: 2.387 MB / 410.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.358, allocations: 12 kB / 410.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.358, allocations: 8 kB / 410.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.3598, allocations: 0.7147 MB / 411.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.3606, allocations: 237.5 kB / 411.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.3714, allocations: 8.729 MB / 420.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3726, allocations: 79.91 kB / 420.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.3727, allocations: 47.94 kB / 420.3 MB, free: 12.84 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.001077/0.3738, allocations: 0.6346 MB / 420.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.374, allocations: 142.2 kB / 421 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.3772, allocations: 1.893 MB / 422.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3772, allocations: 12 kB / 423 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.3772, allocations: 0 / 423 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3773, allocations: 7.984 kB / 423 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006624/0.3839, allocations: 3.994 MB / 427 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3839, allocations: 0 / 427 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.3847, allocations: 188.3 kB / 427.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.3859, allocations: 467.1 kB / 427.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/0.386, allocations: 23.98 kB / 427.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006015/0.392, allocations: 6.688 MB / 434.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.392, allocations: 0 / 434.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.396, allocations: 2.78 MB / 437.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/0.3967, allocations: 355.2 kB / 437.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.3969, allocations: 32.03 kB / 437.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.3977, allocations: 75.91 kB / 437.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.3979, allocations: 79.52 kB / 437.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.398, allocations: 27.98 kB / 437.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.3993, allocations: 0.9543 MB / 438.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3993, allocations: 0 / 438.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001354/0.4006, allocations: 432 kB / 439 MB, free: 9.602 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.0003619/0.401, allocations: 183.1 kB / 439.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.4042, allocations: 2.012 MB / 441.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4042, allocations: 0 / 441.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.4062, allocations: 1.35 MB / 442.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4081, allocations: 385.3 kB / 442.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.4142, allocations: 3.998 MB / 446.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.4156, allocations: 1.689 MB / 448.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008747/0.4165, allocations: 319.5 kB / 448.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.4167, allocations: 99.42 kB / 449 MB, free: 15.49 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4167, allocations: 0 / 449 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Templates: time 0.03793/0.4547, allocations: 24.04 MB / 473.1 MB, free: 7.746 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 gbode -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