Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 64.45 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09971, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01046/0.1102, allocations: 8.946 MB / 367.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.1159, allocations: 2.948 MB / 370.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.1171, allocations: 47.81 kB / 370.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1187, allocations: 0.6095 MB / 371.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.1207, allocations: 0.73 MB / 372.2 MB, free: 4 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1697/0.2905, allocations: 327.8 kB / 372.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.2944, allocations: 2.373 MB / 374.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.2966, allocations: 1.755 MB / 376.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.2987, allocations: 1.072 MB / 377.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.3004, allocations: 1.348 MB / 379.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003838/0.3008, allocations: 278.5 kB / 379.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.3016, allocations: 381.1 kB / 379.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007153/0.3023, allocations: 0.7941 MB / 380.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.3036, allocations: 1.267 MB / 381.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.3073, allocations: 3.702 MB / 385.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3074, allocations: 3.938 kB / 385.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3074, allocations: 1.25 kB / 385.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.572e-05/0.3075, allocations: 0 / 385.5 MB, free: 8.215 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.005261/0.3127, allocations: 2.596 MB / 388.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3128, allocations: 9.875 kB / 388.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3138, allocations: 295.2 kB / 388.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.3162, allocations: 1.404 MB / 389.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3164, allocations: 135.6 kB / 389.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.3167, allocations: 182.7 kB / 390.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.3202, allocations: 2.412 MB / 392.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/0.3202, allocations: 10.64 kB / 392.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.3204, allocations: 75.16 kB / 392.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/0.3205, allocations: 84.38 kB / 392.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.3234, allocations: 2.019 MB / 394.7 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.3335, allocations: 7.369 MB / 402 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3353, allocations: 1.277 MB / 403.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.3369, allocations: 0.9061 MB / 404.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.3371, allocations: 117.4 kB / 404.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3371, allocations: 55.48 kB / 404.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.786e-06/0.3371, allocations: 0 / 404.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.008943/0.3461, allocations: 4.882 MB / 409.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3462, allocations: 68.41 kB / 409.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.3481, allocations: 1.393 MB / 410.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/0.3482, allocations: 41.7 kB / 410.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.3488, allocations: 0.9001 MB / 411.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.349, allocations: 353 kB / 412 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.3494, allocations: 218.8 kB / 412.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3495, allocations: 349.9 kB / 412.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009121/0.3505, allocations: 0.635 MB / 413.2 MB, free: 2.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.3516, allocations: 0.9297 MB / 414.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.3537, allocations: 1.64 MB / 415.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3537, allocations: 0 / 415.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004058/0.3578, allocations: 2.398 MB / 418.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3578, allocations: 8 kB / 418.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3578, allocations: 8 kB / 418.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.3596, allocations: 0.7167 MB / 418.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.3604, allocations: 235.6 kB / 419.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.3708, allocations: 8.735 MB / 427.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3723, allocations: 91.75 kB / 428 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.3724, allocations: 47.94 kB / 428 MB, free: 3.094 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.001208/0.3736, allocations: 0.6418 MB / 428.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.3739, allocations: 142.2 kB / 428.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.3772, allocations: 1.894 MB / 430.7 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.3772, allocations: 12 kB / 430.7 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3772, allocations: 4 kB / 430.7 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3772, allocations: 3.984 kB / 430.7 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008874/0.3861, allocations: 3.991 MB / 434.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.3861, allocations: 4 kB / 434.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.3873, allocations: 183.7 kB / 434.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.3889, allocations: 459.1 kB / 435.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.3891, allocations: 27.98 kB / 435.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008698/0.3978, allocations: 6.694 MB / 442.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3978, allocations: 4.031 kB / 442.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/0.4028, allocations: 2.78 MB / 444.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009899/0.4038, allocations: 367.2 kB / 445.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.404, allocations: 24.03 kB / 445.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.4048, allocations: 67.91 kB / 445.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.405, allocations: 80.89 kB / 445.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.4051, allocations: 31.98 kB / 445.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.4065, allocations: 0.9625 MB / 446.4 MB, free: 140 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4065, allocations: 0 / 446.4 MB, free: 140 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002016/0.4086, allocations: 432 kB / 446.8 MB, free: 15.71 MB / 366.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.0004745/0.4091, allocations: 182.9 kB / 447 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004794/0.4139, allocations: 2.012 MB / 449 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4139, allocations: 0 / 449 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.4166, allocations: 1.336 MB / 450.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.4195, allocations: 387.3 kB / 450.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009233/0.4287, allocations: 4.019 MB / 454.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.4309, allocations: 1.693 MB / 456.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001046/0.432, allocations: 316 kB / 456.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.4323, allocations: 99.42 kB / 456.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4323, allocations: 0 / 456.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of Templates: time 0.03862/0.4709, allocations: 24.13 MB / 480.9 MB, free: 13.63 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches