Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 96.69 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.007398/0.2189, allocations: 10.24 MB / 417.3 MB, free: 17.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.2237, allocations: 3.234 MB / 420.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009823/0.2247, allocations: 55.75 kB / 420.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.226, allocations: 0.6138 MB / 421.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.2275, allocations: 0.7966 MB / 422 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.228, allocations: 371.6 kB / 422.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.2303, allocations: 3.943 MB / 426.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.232, allocations: 2.191 MB / 428.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.2331, allocations: 1.296 MB / 429.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.2346, allocations: 1.763 MB / 431.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.2349, allocations: 235.9 kB / 431.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006251/0.2355, allocations: 347.8 kB / 432.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005621/0.2361, allocations: 0.9346 MB / 433.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.2371, allocations: 1.598 MB / 434.6 MB, free: 84 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.2411, allocations: 5.012 MB / 439.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2411, allocations: 0 / 439.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2411, allocations: 0 / 439.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.2412, allocations: 0 / 439.7 MB, free: 11.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.006972/0.2482, allocations: 3.527 MB / 443.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2482, allocations: 12.03 kB / 443.2 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009861/0.2492, allocations: 388.8 kB / 443.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.2522, allocations: 1.859 MB / 445.4 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.2524, allocations: 201.1 kB / 445.6 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.2527, allocations: 259.9 kB / 445.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005482/0.2582, allocations: 3.528 MB / 449.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.882e-05/0.2583, allocations: 15.92 kB / 449.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.2586, allocations: 108 kB / 449.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.2587, allocations: 108.9 kB / 449.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004878/0.2636, allocations: 3.091 MB / 452.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.2804, allocations: 10.86 MB / 463.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.2838, allocations: 3.074 MB / 466.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.2858, allocations: 1.387 MB / 468.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.2861, allocations: 131.5 kB / 468.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.2877, allocations: 1.152 MB / 469.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 3.236e-06/0.2877, allocations: 3.938 kB / 469.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.01892/0.3067, allocations: 8.876 MB / 478.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.3068, allocations: 184.2 kB / 478.4 MB, free: 3.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.3094, allocations: 1.836 MB / 480.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.3097, allocations: 57.7 kB / 480.3 MB, free: 1.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009057/0.3106, allocations: 1.192 MB / 481.5 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004619/0.3111, allocations: 0.5624 MB / 482 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/0.3116, allocations: 351.3 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.3117, allocations: 301.1 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.3132, allocations: 1.007 MB / 483.7 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.3149, allocations: 1.426 MB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005958/0.3209, allocations: 2.454 MB / 487.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.3209, allocations: 7.938 kB / 487.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009978/0.3309, allocations: 3.33 MB / 490.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.331, allocations: 10.97 kB / 490.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.331, allocations: 12 kB / 490.9 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003505/0.3346, allocations: 0.8904 MB / 491.8 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.3366, allocations: 339.5 kB / 492.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/0.3516, allocations: 9.529 MB / 0.4899 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/0.3547, allocations: 135.9 kB / 0.49 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.355, allocations: 64 kB / 0.4901 GB, free: 11.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002631/0.3577, allocations: 0.9345 MB / 0.491 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/0.3584, allocations: 205.5 kB / 0.4912 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008139/0.3665, allocations: 3.111 MB / 0.4943 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.3666, allocations: 16 kB / 0.4943 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.3666, allocations: 8 kB / 0.4943 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.3667, allocations: 7.969 kB / 0.4943 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.3833, allocations: 6.248 MB / 0.5004 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.3834, allocations: 8 kB / 0.5004 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.3848, allocations: 207.7 kB / 0.5006 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.269/0.6539, allocations: 0.9266 MB / 0.5015 GB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003877/0.6543, allocations: 47.34 kB / 0.5015 GB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.6708, allocations: 10.98 MB / 0.5123 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/0.6709, allocations: 8.297 kB / 0.5123 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0649/0.7358, allocations: 34.18 MB / 0.5457 GB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.7369, allocations: 498.4 kB / 0.5461 GB, free: 54.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.7373, allocations: 42.2 kB / 0.5462 GB, free: 54.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.7387, allocations: 99.89 kB / 0.5463 GB, free: 54.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/0.7393, allocations: 193 kB / 0.5465 GB, free: 54.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.7395, allocations: 51.98 kB / 0.5465 GB, free: 54.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002064/0.7415, allocations: 1.259 MB / 0.5477 GB, free: 52.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7415, allocations: 0 / 0.5477 GB, free: 52.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003641/0.7452, allocations: 0.913 MB / 0.5486 GB, free: 51.99 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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (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.0005135/0.7457, allocations: 213 kB / 0.5488 GB, free: 51.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00591/0.7516, allocations: 3.24 MB / 0.552 GB, free: 48.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7517, allocations: 8.25 kB / 0.552 GB, free: 48.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003826/0.7555, allocations: 2.246 MB / 0.5542 GB, free: 46.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/0.7591, allocations: 0.5426 MB / 0.5547 GB, free: 45.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.7749, allocations: 8.918 MB / 0.5634 GB, free: 36.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.7776, allocations: 2.27 MB / 0.5656 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0024/0.7801, allocations: 477.5 kB / 0.5661 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/0.7808, allocations: 143.3 kB / 0.5662 GB, free: 33.68 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7808, allocations: 4 kB / 0.5662 GB, free: 33.68 MB / 378.7 MB Notification: Performance of Templates: time 0.08595/0.8668, allocations: 45.44 MB / 0.6106 GB, free: 4.617 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches