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.0009081/0.0009082, allocations: 95.12 kB / 17.31 MB, free: 5.582 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.0009878/0.0009878, allocations: 183.4 kB / 18.21 MB, free: 5.188 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.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002362, allocations: 15.92 kB / 302.1 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07297/0.07322, allocations: 50.41 MB / 352.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007919/0.08116, allocations: 8.352 MB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.08553, allocations: 2.82 MB / 363.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.08635, allocations: 39.81 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.08765, allocations: 0.5284 MB / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.08933, allocations: 0.6528 MB / 364.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.08993, allocations: 279.7 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.09246, allocations: 2.743 MB / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.0941, allocations: 1.433 MB / 369.3 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009854/0.0951, allocations: 0.8167 MB / 370.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.09657, allocations: 1.152 MB / 371.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.0968, allocations: 120 kB / 371.4 MB, free: 436 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.09728, allocations: 227.8 kB / 371.6 MB, free: 208 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1352/0.2325, allocations: 0.611 MB / 372.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.2345, allocations: 1.078 MB / 373.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003353/0.2378, allocations: 2.959 MB / 376.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2378, allocations: 0 / 376.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2378, allocations: 0 / 376.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.238, allocations: 0 / 376.3 MB, free: 12.77 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.005061/0.243, allocations: 2.199 MB / 378.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2431, allocations: 8.531 kB / 378.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.244, allocations: 259.4 kB / 378.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.2463, allocations: 1.359 MB / 380.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.2464, allocations: 134.1 kB / 380.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/0.2468, allocations: 183.6 kB / 380.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/0.2508, allocations: 2.421 MB / 382.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.2509, allocations: 10.94 kB / 382.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.2511, allocations: 72.39 kB / 382.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/0.2512, allocations: 84.89 kB / 383 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.2544, allocations: 2.037 MB / 385 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009497/0.2639, allocations: 7.501 MB / 392.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.2655, allocations: 1.287 MB / 393.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.267, allocations: 0.9111 MB / 394.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.2672, allocations: 116.6 kB / 394.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.2672, allocations: 47.83 kB / 394.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.445e-06/0.2672, allocations: 0 / 394.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.007894/0.2751, allocations: 4.92 MB / 399.8 MB, free: 1.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2752, allocations: 67.31 kB / 399.9 MB, free: 1.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.2767, allocations: 1.37 MB / 401.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.2768, allocations: 46.33 kB / 401.3 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/0.2772, allocations: 0.8933 MB / 402.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.2775, allocations: 354.6 kB / 402.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.2776, allocations: 98.86 kB / 402.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2778, allocations: 354.2 kB / 403 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.2787, allocations: 0.6463 MB / 403.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.2799, allocations: 0.9248 MB / 404.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.2821, allocations: 1.665 MB / 406.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2821, allocations: 4 kB / 406.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00404/0.2862, allocations: 2.407 MB / 408.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2862, allocations: 8 kB / 408.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.2862, allocations: 8 kB / 408.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.288, allocations: 0.716 MB / 409.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.2889, allocations: 237.7 kB / 409.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009764/0.2986, allocations: 8.019 MB / 417.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.2996, allocations: 79.91 kB / 417.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.2997, allocations: 55.92 kB / 417.8 MB, free: 312 kB / 318.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.0008942/0.3006, allocations: 0.6355 MB / 418.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.3008, allocations: 152.7 kB / 418.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.3041, allocations: 1.908 MB / 420.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3041, allocations: 12 kB / 420.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3042, allocations: 4 kB / 420.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.3042, allocations: 7.922 kB / 420.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/0.3105, allocations: 4.027 MB / 424.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3105, allocations: 4 kB / 424.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.3113, allocations: 188.9 kB / 424.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.3126, allocations: 458.9 kB / 425.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.3127, allocations: 35.97 kB / 425.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/0.3184, allocations: 6.147 MB / 431.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3184, allocations: 4 kB / 431.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.3226, allocations: 2.791 MB / 434.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/0.3231, allocations: 355.2 kB / 434.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.3233, allocations: 31.92 kB / 434.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.3242, allocations: 71.92 kB / 434.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.3244, allocations: 87.97 kB / 434.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/0.3244, allocations: 27.94 kB / 434.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.3257, allocations: 0.9582 MB / 435.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3257, allocations: 0 / 435.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001248/0.327, allocations: 436.1 kB / 436.1 MB, free: 13.53 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.000323/0.3273, allocations: 184 kB / 436.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.3305, allocations: 2.016 MB / 438.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3305, allocations: 0 / 438.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.3325, allocations: 1.355 MB / 439.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.3345, allocations: 362.6 kB / 440 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.3408, allocations: 5.026 MB / 445 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3421, allocations: 1.661 MB / 446.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.3425, allocations: 107.4 kB / 446.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3425, allocations: 0 / 446.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Templates: time 0.05416/0.3967, allocations: 52.29 MB / 499 MB, free: 14.49 MB / 414.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