Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 107.3 kB / 18.35 MB, free: 4.773 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.002084/0.002085, allocations: 192 kB / 19.29 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 56.14 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 46.61 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01195/0.1216, allocations: 10.15 MB / 338.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006671/0.1283, allocations: 3.284 MB / 342.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.1301, allocations: 47.75 kB / 342.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.1322, allocations: 0.6947 MB / 342.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.1355, allocations: 0.8386 MB / 343.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1367, allocations: 411.4 kB / 344.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.1407, allocations: 2.977 MB / 347.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.1437, allocations: 2.449 MB / 349.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.1475, allocations: 1.331 MB / 350.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.1513, allocations: 1.693 MB / 352.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006347/0.152, allocations: 356 kB / 352.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.153, allocations: 455.8 kB / 353.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.1541, allocations: 1.017 MB / 354.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.156, allocations: 1.61 MB / 356 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004557/0.1605, allocations: 4.677 MB / 360.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1606, allocations: 0 / 360.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1606, allocations: 0 / 360.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.888e-05/0.1607, allocations: 0 / 360.7 MB, free: 3.617 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007163/0.1678, allocations: 3.26 MB / 363.9 MB, free: 296 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1679, allocations: 8.031 kB / 364 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.169, allocations: 333.3 kB / 364.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/0.1726, allocations: 1.647 MB / 365.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.1728, allocations: 181 kB / 366.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/0.1733, allocations: 239.8 kB / 366.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.1795, allocations: 3.133 MB / 369.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.426e-05/0.1796, allocations: 0 / 369.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.1798, allocations: 96 kB / 369.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.18, allocations: 108.6 kB / 369.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/0.1852, allocations: 2.692 MB / 372.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2296/0.4148, allocations: 9.623 MB / 382 MB, free: 47.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.418, allocations: 2.17 MB / 384.2 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.42, allocations: 1.119 MB / 385.3 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.4203, allocations: 204.2 kB / 385.5 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4203, allocations: 49.08 kB / 385.5 MB, free: 46.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.855e-06/0.4203, allocations: 3.469 kB / 385.5 MB, free: 46.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01484/0.4352, allocations: 6.691 MB / 392.2 MB, free: 44.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4352, allocations: 72.5 kB / 392.3 MB, free: 44.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.4381, allocations: 1.742 MB / 394 MB, free: 43.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.4383, allocations: 52.11 kB / 394.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.4391, allocations: 1.156 MB / 395.2 MB, free: 42.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.4394, allocations: 455.8 kB / 395.7 MB, free: 42.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004642/0.4399, allocations: 286.1 kB / 396 MB, free: 42.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.44, allocations: 302.5 kB / 396.3 MB, free: 41.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4412, allocations: 0.7869 MB / 397 MB, free: 41.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.4425, allocations: 1.206 MB / 398.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.4449, allocations: 2.096 MB / 400.3 MB, free: 39.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4449, allocations: 3.844 kB / 400.3 MB, free: 39.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004049/0.4489, allocations: 2.679 MB / 403 MB, free: 38.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.449, allocations: 10.72 kB / 403 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.449, allocations: 11.12 kB / 403 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008995/0.4499, allocations: 412.4 kB / 403.5 MB, free: 37.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4512, allocations: 363.9 kB / 403.8 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.4565, allocations: 7.065 MB / 410.9 MB, free: 31.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4583, allocations: 107.8 kB / 411 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4584, allocations: 63.98 kB / 411 MB, free: 30.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001432/0.4599, allocations: 0.8018 MB / 411.8 MB, free: 30.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/0.4603, allocations: 181.8 kB / 412 MB, free: 29.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.4637, allocations: 2.377 MB / 414.4 MB, free: 27.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4637, allocations: 13.08 kB / 414.4 MB, free: 27.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4637, allocations: 4 kB / 414.4 MB, free: 27.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4638, allocations: 14.88 kB / 414.4 MB, free: 27.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007751/0.4715, allocations: 5.091 MB / 419.5 MB, free: 22.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4716, allocations: 4 kB / 419.5 MB, free: 22.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.4725, allocations: 236.1 kB / 419.8 MB, free: 22.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.4735, allocations: 458.7 kB / 420.2 MB, free: 21.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/0.4736, allocations: 35.98 kB / 420.2 MB, free: 21.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.48, allocations: 8.629 MB / 428.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4801, allocations: 7.938 kB / 428.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.4852, allocations: 3.52 MB / 432.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.4867, allocations: 442.6 kB / 432.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/0.487, allocations: 35.98 kB / 432.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/0.488, allocations: 83.91 kB / 432.9 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.4883, allocations: 120.7 kB / 433.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.4884, allocations: 39.98 kB / 433.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.49, allocations: 1.204 MB / 434.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.49, allocations: 0 / 434.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002041/0.4921, allocations: 0.5027 MB / 434.8 MB, free: 6.336 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0003613/0.4924, allocations: 193.5 kB / 435 MB, free: 6.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003541/0.496, allocations: 2.461 MB / 437.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.496, allocations: 4.25 kB / 437.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.4982, allocations: 1.623 MB / 439.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.5005, allocations: 486 kB / 439.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.5091, allocations: 5.004 MB / 444.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/0.511, allocations: 2.001 MB / 446.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001508/0.5126, allocations: 451.4 kB / 447 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.5129, allocations: 123.4 kB / 447.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of SimCode: time 8.81e-07/0.513, allocations: 4 kB / 447.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of Templates: time 0.05101/0.564, allocations: 27.74 MB / 474.9 MB, free: 14.07 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches