Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 92.66 kB / 17.31 MB, free: 6.531 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.001082/0.001082, allocations: 176.4 kB / 18.21 MB, free: 5.684 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.264/1.264, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002178/0.0002178, allocations: 8 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07267/0.0729, allocations: 50.42 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008496/0.08142, allocations: 8.803 MB / 361.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.08603, allocations: 2.917 MB / 364.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008609/0.08691, allocations: 43.75 kB / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.08826, allocations: 0.5517 MB / 364.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.09003, allocations: 0.7072 MB / 365.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.09061, allocations: 311.7 kB / 365.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.09308, allocations: 3.07 MB / 368.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.09498, allocations: 1.802 MB / 370.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000809/0.09579, allocations: 0.9062 MB / 371.6 MB, free: 460 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1367/0.2325, allocations: 1.283 MB / 372.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005432/0.233, allocations: 131.9 kB / 373 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.2339, allocations: 230.9 kB / 373.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007605/0.2346, allocations: 0.6849 MB / 373.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.2363, allocations: 1.203 MB / 375.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.2394, allocations: 3.269 MB / 378.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2395, allocations: 1.219 kB / 378.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2395, allocations: 3.938 kB / 378.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.615e-05/0.2395, allocations: 0 / 378.4 MB, free: 11.29 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004292/0.2438, allocations: 2.422 MB / 380.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2439, allocations: 13.16 kB / 380.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/0.2446, allocations: 287.4 kB / 381.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.2465, allocations: 1.496 MB / 382.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/0.2466, allocations: 149.8 kB / 382.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2469, allocations: 206.5 kB / 383 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.251, allocations: 2.748 MB / 385.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.251, allocations: 3 kB / 385.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.2512, allocations: 82.47 kB / 385.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.211e-05/0.2513, allocations: 91.62 kB / 385.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.2549, allocations: 2.349 MB / 388.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009889/0.2648, allocations: 8.465 MB / 396.7 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.2664, allocations: 1.791 MB / 398.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.2681, allocations: 1.061 MB / 399.6 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.2683, allocations: 127.1 kB / 399.7 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2683, allocations: 46.5 kB / 399.7 MB, free: 420 kB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.2683, allocations: 2.906 kB / 399.7 MB, free: 420 kB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01202/0.2803, allocations: 6.285 MB / 406 MB, free: 11.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2804, allocations: 64.41 kB / 406.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.2823, allocations: 1.512 MB / 407.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.2824, allocations: 49.7 kB / 407.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006446/0.2831, allocations: 0.9874 MB / 408.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.2834, allocations: 423.7 kB / 409 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.2836, allocations: 117.7 kB / 409.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2837, allocations: 357.9 kB / 409.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.2849, allocations: 0.7417 MB / 410.2 MB, free: 7.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.2862, allocations: 1.068 MB / 411.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.2889, allocations: 1.897 MB / 413.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2889, allocations: 0 / 413.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003802/0.2927, allocations: 2.367 MB / 415.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2927, allocations: 8 kB / 415.6 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2927, allocations: 12 kB / 415.6 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/0.2937, allocations: 415.1 kB / 416 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.295, allocations: 335.2 kB / 416.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/0.2996, allocations: 4.646 MB / 421 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.3005, allocations: 95.97 kB / 421.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.3006, allocations: 52 kB / 421.1 MB, free: 12.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009736/0.3016, allocations: 0.7082 MB / 421.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.3019, allocations: 166 kB / 422 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.3055, allocations: 2.152 MB / 424.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3055, allocations: 12 kB / 424.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3056, allocations: 8 kB / 424.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3056, allocations: 7.969 kB / 424.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/0.3127, allocations: 4.614 MB / 428.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3127, allocations: 4 kB / 428.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/0.3137, allocations: 220 kB / 429 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.3149, allocations: 473.4 kB / 429.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.315, allocations: 27.98 kB / 429.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/0.3207, allocations: 6.138 MB / 435.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3208, allocations: 6.719 kB / 435.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.3255, allocations: 3.203 MB / 438.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.3261, allocations: 406.9 kB / 439.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.3263, allocations: 24 kB / 439.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/0.3272, allocations: 87.91 kB / 439.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.3275, allocations: 107.8 kB / 439.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.3276, allocations: 32 kB / 439.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.3289, allocations: 1.044 MB / 440.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3289, allocations: 0 / 440.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001224/0.3302, allocations: 471.9 kB / 441 MB, free: 7.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003361/0.3305, allocations: 194.5 kB / 441.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.3338, allocations: 2.28 MB / 443.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3338, allocations: 2.625 kB / 443.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.336, allocations: 1.502 MB / 445 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.3383, allocations: 427.3 kB / 445.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/0.3452, allocations: 5.588 MB / 451 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.3467, allocations: 1.787 MB / 452.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.3471, allocations: 119.4 kB / 452.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3471, allocations: 0 / 452.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.06632/0.4135, allocations: 69.55 MB / 0.5102 GB, free: 6.344 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches