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/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_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/ModelicaServices trunk/package.mo): time 0.001696/0.001697, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.42 kB / 307 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1098, allocations: 50.55 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01209/0.122, allocations: 10.32 MB / 367.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.1292, allocations: 3.279 MB / 371.1 MB, free: 364 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1305, allocations: 59.75 kB / 371.2 MB, free: 304 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1977/0.3281, allocations: 0.6879 MB / 371.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.3319, allocations: 0.8772 MB / 372.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3331, allocations: 429 kB / 373.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00503/0.3381, allocations: 3.429 MB / 376.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003571/0.3417, allocations: 2.605 MB / 379.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.3447, allocations: 1.531 MB / 380.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.3478, allocations: 1.858 MB / 382.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.3489, allocations: 397.4 kB / 383 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3506, allocations: 499.8 kB / 383.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.3519, allocations: 1.105 MB / 384.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.355, allocations: 1.778 MB / 386.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00666/0.3616, allocations: 5.173 MB / 391.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3617, allocations: 0 / 391.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3617, allocations: 0 / 391.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001476/0.3618, allocations: 0 / 391.5 MB, free: 3.582 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.00945/0.3713, allocations: 3.534 MB / 395.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/0.3714, allocations: 14.64 kB / 395.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.3731, allocations: 387.9 kB / 395.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/0.3768, allocations: 1.879 MB / 397.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.377, allocations: 201.2 kB / 397.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/0.3774, allocations: 262.7 kB / 397.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007742/0.3851, allocations: 3.537 MB / 401.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/0.3852, allocations: 4 kB / 401.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.3856, allocations: 100 kB / 401.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.3857, allocations: 116.9 kB / 401.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006326/0.392, allocations: 3.095 MB / 404.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.4135, allocations: 10.86 MB / 415.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.4177, allocations: 3.081 MB / 418.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/0.4202, allocations: 1.39 MB / 420 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.4205, allocations: 122.4 kB / 420.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/0.4224, allocations: 1.147 MB / 421.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 3.717e-06/0.4225, allocations: 0 / 421.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=172): time 0.02358/0.446, allocations: 8.893 MB / 430.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.4462, allocations: 176.2 kB / 430.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/0.4498, allocations: 1.85 MB / 432.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.45, allocations: 57.7 kB / 432.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.4515, allocations: 1.202 MB / 433.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/0.4521, allocations: 0.5629 MB / 434 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006272/0.4527, allocations: 351.3 kB / 434.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4528, allocations: 305.1 kB / 434.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.4546, allocations: 1.003 MB / 435.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4567, allocations: 1.43 MB / 437.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.4605, allocations: 2.454 MB / 439.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.4605, allocations: 4 kB / 439.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006515/0.467, allocations: 3.327 MB / 442.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4671, allocations: 14.91 kB / 442.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.4671, allocations: 15.98 kB / 442.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.4694, allocations: 0.885 MB / 443.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.4707, allocations: 335.4 kB / 444.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.4845, allocations: 10.44 MB / 454.5 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.4867, allocations: 131.8 kB / 454.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.4869, allocations: 68 kB / 454.7 MB, free: 6.289 MB / 366.1 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.001817/0.4887, allocations: 0.9254 MB / 455.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/0.4892, allocations: 205.5 kB / 455.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00567/0.4949, allocations: 3.115 MB / 459 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4949, allocations: 24 kB / 459 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4949, allocations: 4 kB / 459 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.495, allocations: 11.97 kB / 459 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.5062, allocations: 6.259 MB / 465.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.5062, allocations: 4 kB / 465.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.5072, allocations: 212 kB / 465.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.5097, allocations: 0.929 MB / 466.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.5099, allocations: 39.98 kB / 466.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.5247, allocations: 12.04 MB / 478.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/0.5247, allocations: 11.92 kB / 478.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/0.5331, allocations: 4.505 MB / 483 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.5348, allocations: 0.4945 MB / 483.5 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.5352, allocations: 39.98 kB / 483.5 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5362, allocations: 95.89 kB / 483.6 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/0.5368, allocations: 197 kB / 483.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.537, allocations: 55.92 kB / 483.9 MB, free: 8.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002099/0.5391, allocations: 1.263 MB / 485.1 MB, free: 7.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5391, allocations: 0 / 485.1 MB, free: 7.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002431/0.5415, allocations: 0.6328 MB / 485.8 MB, free: 6.504 MB / 398.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: 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.0004807/0.542, allocations: 205.2 kB / 486 MB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008077/0.5501, allocations: 4.235 MB / 490.2 MB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5501, allocations: 4 kB / 490.2 MB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.554, allocations: 2.252 MB / 492.4 MB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.5574, allocations: 0.5801 MB / 493 MB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.5701, allocations: 5.753 MB / 498.8 MB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/0.5729, allocations: 2.192 MB / 0.4892 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001731/0.5746, allocations: 453.6 kB / 0.4897 GB, free: 6.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.5751, allocations: 131.4 kB / 0.4898 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5751, allocations: 3.938 kB / 0.4898 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Templates: time 0.07705/0.6521, allocations: 37.63 MB / 0.5265 GB, free: 1.254 MB / 446.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches