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.001075/0.001075, allocations: 115.5 kB / 17.69 MB, free: 5.438 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.0009872/0.0009872, allocations: 192 kB / 18.63 MB, free: 4.504 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.286/1.286, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 55.2 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09821, allocations: 49.43 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01011/0.1084, allocations: 10.19 MB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.1135, allocations: 3.221 MB / 364.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.1144, allocations: 59.75 kB / 365 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.1159, allocations: 0.6945 MB / 365.7 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.118, allocations: 0.8309 MB / 366.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.1188, allocations: 415.4 kB / 366.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.1216, allocations: 2.971 MB / 369.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1495/0.2711, allocations: 2.477 MB / 372.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.2737, allocations: 1.342 MB / 373.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/0.2767, allocations: 1.698 MB / 375.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006709/0.2774, allocations: 352.7 kB / 375.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.2786, allocations: 452.8 kB / 376.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.2797, allocations: 1.02 MB / 377.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.2818, allocations: 1.609 MB / 378.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004877/0.2867, allocations: 4.668 MB / 383.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2867, allocations: 0 / 383.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2867, allocations: 0 / 383.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001171/0.2868, allocations: 1.531 kB / 383.5 MB, free: 9.684 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.007458/0.2943, allocations: 3.266 MB / 386.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2944, allocations: 8.344 kB / 386.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.2953, allocations: 330.2 kB / 387.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.2986, allocations: 1.754 MB / 388.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2987, allocations: 175.8 kB / 389 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.2991, allocations: 232.1 kB / 389.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004803/0.3039, allocations: 3.135 MB / 392.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.304, allocations: 17.27 kB / 392.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.3042, allocations: 92.62 kB / 392.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3043, allocations: 104.7 kB / 392.6 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/0.3086, allocations: 2.695 MB / 395.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.3227, allocations: 9.623 MB / 404.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.3254, allocations: 2.171 MB / 407.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.3272, allocations: 1.116 MB / 408.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.3275, allocations: 203.1 kB / 408.4 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3276, allocations: 46.28 kB / 408.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.025e-06/0.3276, allocations: 0 / 408.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.0141/0.3417, allocations: 6.832 MB / 415.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3418, allocations: 68.72 kB / 415.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.3444, allocations: 1.75 MB / 417.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.3446, allocations: 45.7 kB / 417.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007444/0.3453, allocations: 1.154 MB / 418.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.3457, allocations: 459.6 kB / 418.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004476/0.3461, allocations: 286.7 kB / 419 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.3462, allocations: 305.1 kB / 419.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.3475, allocations: 0.7925 MB / 420.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.3489, allocations: 1.209 MB / 421.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.3517, allocations: 2.091 MB / 423.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.3517, allocations: 0 / 423.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004523/0.3563, allocations: 2.672 MB / 426.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3563, allocations: 15.94 kB / 426.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.3563, allocations: 15.98 kB / 426.1 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009906/0.3573, allocations: 411.5 kB / 426.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3587, allocations: 371.1 kB / 426.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/0.3655, allocations: 7.059 MB / 433.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.3672, allocations: 111.8 kB / 434 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.3674, allocations: 67.98 kB / 434.1 MB, free: 13.46 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.00161/0.369, allocations: 0.7938 MB / 434.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.3695, allocations: 185.7 kB / 435.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.3739, allocations: 2.373 MB / 437.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3739, allocations: 16 kB / 437.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.3739, allocations: 7.938 kB / 437.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3739, allocations: 11.97 kB / 437.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009619/0.3836, allocations: 5.096 MB / 442.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.3836, allocations: 4 kB / 442.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.3846, allocations: 245 kB / 442.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.3858, allocations: 450.8 kB / 443.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.3859, allocations: 43.98 kB / 443.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007733/0.3937, allocations: 8.636 MB / 451.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3937, allocations: 4 kB / 451.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.3994, allocations: 3.523 MB / 455.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.4008, allocations: 434.8 kB / 455.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/0.4014, allocations: 31.98 kB / 455.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.4026, allocations: 79.91 kB / 456 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.4029, allocations: 127.4 kB / 456.1 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.403, allocations: 36 kB / 456.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.405, allocations: 1.202 MB / 457.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.405, allocations: 0 / 457.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002006/0.4071, allocations: 0.5038 MB / 457.9 MB, free: 5.008 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.0004006/0.4075, allocations: 204.6 kB / 458.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.4122, allocations: 2.476 MB / 460.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.4122, allocations: 0 / 460.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004427/0.4167, allocations: 1.606 MB / 462.1 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/0.4204, allocations: 475.9 kB / 462.6 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.433, allocations: 4.994 MB / 467.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/0.4357, allocations: 1.993 MB / 469.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002308/0.438, allocations: 447.5 kB / 470 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/0.4387, allocations: 123.4 kB / 470.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4387, allocations: 0 / 470.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of Templates: time 0.07257/0.5113, allocations: 27.76 MB / 497.9 MB, free: 13.2 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 gbode -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