Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001187/0.001187, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.366/1.366, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.66 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09564, allocations: 49.45 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01154/0.1072, allocations: 10.18 MB / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006363/0.1136, allocations: 3.232 MB / 364.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.1151, allocations: 55.75 kB / 365 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.1173, allocations: 0.6984 MB / 365.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.1201, allocations: 0.8348 MB / 366.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1213, allocations: 415.4 kB / 366.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003643/0.125, allocations: 2.961 MB / 369.9 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1727/0.2976, allocations: 2.478 MB / 372.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.3003, allocations: 1.346 MB / 373.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.3031, allocations: 1.692 MB / 375.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007545/0.3038, allocations: 353.9 kB / 375.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.305, allocations: 451.5 kB / 376.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.306, allocations: 1.018 MB / 377.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.308, allocations: 1.608 MB / 378.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005858/0.3138, allocations: 4.673 MB / 383.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.3139, allocations: 4 kB / 383.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3139, allocations: 0 / 383.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001249/0.314, allocations: 0 / 383.5 MB, free: 9.953 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.006892/0.3209, allocations: 3.257 MB / 386.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.321, allocations: 8.438 kB / 386.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007942/0.3218, allocations: 331 kB / 387.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.3246, allocations: 1.758 MB / 388.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3247, allocations: 172.2 kB / 389 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.325, allocations: 227.8 kB / 389.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.3295, allocations: 3.147 MB / 392.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/0.3296, allocations: 9.281 kB / 392.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.3298, allocations: 92.62 kB / 392.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-05/0.3299, allocations: 105.2 kB / 392.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.3338, allocations: 2.704 MB / 395.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3481, allocations: 9.615 MB / 404.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.3508, allocations: 2.173 MB / 407.1 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.3526, allocations: 1.116 MB / 408.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.353, allocations: 206.2 kB / 408.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.353, allocations: 47.56 kB / 408.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.406e-06/0.353, allocations: 0 / 408.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01439/0.3674, allocations: 6.832 MB / 415.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3675, allocations: 64.72 kB / 415.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.37, allocations: 1.746 MB / 417.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3702, allocations: 49.7 kB / 417.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.371, allocations: 1.154 MB / 418.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.3714, allocations: 454.8 kB / 418.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.3718, allocations: 286.7 kB / 419 MB, free: 13.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.3719, allocations: 309 kB / 419.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.3731, allocations: 0.7886 MB / 420.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.3746, allocations: 1.204 MB / 421.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.3774, allocations: 2.094 MB / 423.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3774, allocations: 4 kB / 423.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004479/0.3819, allocations: 2.669 MB / 426 MB, free: 5.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.382, allocations: 12.03 kB / 426.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.382, allocations: 15.94 kB / 426.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.383, allocations: 422.4 kB / 426.5 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3843, allocations: 364.9 kB / 426.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006481/0.3908, allocations: 7.063 MB / 433.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.3926, allocations: 115.8 kB / 434 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.3927, allocations: 60.94 kB / 434.1 MB, free: 13.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.00145/0.3942, allocations: 0.7955 MB / 434.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.3946, allocations: 185.7 kB / 435.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.3984, allocations: 2.369 MB / 437.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.3985, allocations: 18.72 kB / 437.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3985, allocations: 11.92 kB / 437.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3985, allocations: 11.92 kB / 437.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008706/0.4072, allocations: 5.106 MB / 442.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4073, allocations: 4 kB / 442.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/0.4082, allocations: 234.3 kB / 442.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.4094, allocations: 457 kB / 443.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/0.4095, allocations: 35.98 kB / 443.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008084/0.4176, allocations: 8.633 MB / 451.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4176, allocations: 10.62 kB / 451.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005647/0.4232, allocations: 3.521 MB / 455.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.4247, allocations: 430.7 kB / 455.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.425, allocations: 32 kB / 455.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/0.4259, allocations: 91.89 kB / 456 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.4263, allocations: 122 kB / 456.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4264, allocations: 39.98 kB / 456.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.4285, allocations: 1.194 MB / 457.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4285, allocations: 0 / 457.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001862/0.4304, allocations: 0.5038 MB / 457.8 MB, free: 5.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (114): * Single equations (assignments): 110 * 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.0004159/0.4308, allocations: 205.5 kB / 458 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.4346, allocations: 2.47 MB / 460.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.4347, allocations: 5.875 kB / 460.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.4372, allocations: 1.611 MB / 462.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.4398, allocations: 476.5 kB / 462.6 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007713/0.4475, allocations: 4.986 MB / 467.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.4491, allocations: 2.001 MB / 469.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001208/0.4503, allocations: 439.5 kB / 470 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.4507, allocations: 123.4 kB / 470.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4507, allocations: 0 / 470.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of Templates: time 0.04733/0.4981, allocations: 27.76 MB / 497.9 MB, free: 13.29 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches