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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 97.84 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007817/0.0007819, allocations: 35.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2711, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007713/0.2788, allocations: 9.328 MB / 408.8 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.2844, allocations: 2.943 MB / 411.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.2861, allocations: 43.81 kB / 411.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.2881, allocations: 0.5555 MB / 412.3 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.2909, allocations: 0.6994 MB / 413 MB, free: 19.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.2918, allocations: 319.6 kB / 413.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.2949, allocations: 3.106 MB / 416.5 MB, free: 16.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.2967, allocations: 1.814 MB / 418.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.2983, allocations: 1.039 MB / 419.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.3001, allocations: 1.44 MB / 420.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.3005, allocations: 188 kB / 420.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.3011, allocations: 291.8 kB / 421.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005408/0.3017, allocations: 0.7593 MB / 422 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.3029, allocations: 1.279 MB / 423.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.3053, allocations: 3.929 MB / 427.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3053, allocations: 0 / 427.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3053, allocations: 0 / 427.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.141e-05/0.3054, allocations: 0 / 427.2 MB, free: 5.5 MB / 298.7 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.005271/0.3107, allocations: 2.851 MB / 430 MB, free: 2.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3108, allocations: 12.03 kB / 430.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.3114, allocations: 285.7 kB / 430.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.3139, allocations: 1.488 MB / 431.8 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/0.314, allocations: 152.4 kB / 432 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.3143, allocations: 216 kB / 432.2 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.319, allocations: 2.736 MB / 434.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.3191, allocations: 7.906 kB / 434.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.3192, allocations: 80 kB / 435 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/0.3194, allocations: 91.94 kB / 435.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.3233, allocations: 2.33 MB / 437.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.3371, allocations: 8.411 MB / 445.8 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.3394, allocations: 1.781 MB / 447.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.3414, allocations: 1.062 MB / 448.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.3417, allocations: 122 kB / 448.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.3417, allocations: 47.56 kB / 448.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.637e-06/0.3417, allocations: 3.938 kB / 448.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.0145/0.3562, allocations: 6.19 MB / 455 MB, free: 8.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3563, allocations: 64.41 kB / 455.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.359, allocations: 1.508 MB / 456.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.3592, allocations: 45.7 kB / 456.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007982/0.36, allocations: 0.9834 MB / 457.6 MB, free: 6.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.3604, allocations: 429.9 kB / 458.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/0.3609, allocations: 251.5 kB / 458.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3611, allocations: 365.9 kB / 458.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.3623, allocations: 0.7261 MB / 459.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.3637, allocations: 1.059 MB / 460.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.3664, allocations: 1.879 MB / 462.3 MB, free: 1.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3664, allocations: 0 / 462.3 MB, free: 1.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00465/0.3711, allocations: 2.349 MB / 464.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.3711, allocations: 12 kB / 464.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.3712, allocations: 8 kB / 464.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3722, allocations: 408.6 kB / 465.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3735, allocations: 331.5 kB / 465.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/0.3788, allocations: 4.648 MB / 470.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.3804, allocations: 87.97 kB / 470.1 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.3806, allocations: 56 kB / 470.2 MB, free: 9.145 MB / 346.7 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.00153/0.3821, allocations: 0.7042 MB / 470.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/0.3826, allocations: 166 kB / 471.1 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.3869, allocations: 2.145 MB / 473.2 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.387, allocations: 11.94 kB / 473.2 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.387, allocations: 4 kB / 473.2 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.387, allocations: 11.86 kB / 473.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009202/0.3962, allocations: 4.581 MB / 477.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.3963, allocations: 4 kB / 477.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3973, allocations: 227.6 kB / 478 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.3986, allocations: 459.1 kB / 478.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.3988, allocations: 31.98 kB / 478.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/0.4056, allocations: 6.149 MB / 484.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4057, allocations: 4.031 kB / 484.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04007/0.4457, allocations: 23.39 MB / 0.4962 GB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009069/0.4467, allocations: 395.1 kB / 0.4965 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.4469, allocations: 28 kB / 0.4966 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.4478, allocations: 79.97 kB / 0.4966 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.4481, allocations: 108.7 kB / 0.4967 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.4482, allocations: 35.98 kB / 0.4968 GB, free: 1.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001693/0.4499, allocations: 1.04 MB / 0.4978 GB, free: 392 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4499, allocations: 0 / 0.4978 GB, free: 392 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.2377/0.6876, allocations: 0.6411 MB / 0.4984 GB, free: 95.66 MB / 378.7 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.0006066/0.6883, allocations: 189.5 kB / 0.4986 GB, free: 95.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003786/0.6921, allocations: 2.263 MB / 0.5008 GB, free: 95.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6921, allocations: 3.469 kB / 0.5008 GB, free: 95.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.6941, allocations: 1.49 MB / 0.5023 GB, free: 94.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.6963, allocations: 420.6 kB / 0.5027 GB, free: 94.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.7064, allocations: 6.819 MB / 0.5093 GB, free: 91.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.7081, allocations: 1.873 MB / 0.5112 GB, free: 90.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001529/0.7097, allocations: 420.2 kB / 0.5116 GB, free: 90.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.7101, allocations: 120 kB / 0.5117 GB, free: 90.02 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.7101, allocations: 0 / 0.5117 GB, free: 90.02 MB / 378.7 MB Notification: Performance of Templates: time 0.04581/0.7559, allocations: 30.5 MB / 0.5415 GB, free: 61.97 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../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