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.001858/0.001858, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.002514/0.002514, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.42/2.42, allocations: 222.9 MB / 241.7 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 50.45 kB / 300.6 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.174, allocations: 49.45 MB / 350.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.02046/0.1945, allocations: 10.11 MB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2056, allocations: 3.19 MB / 363.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003393/0.2091, allocations: 51.75 kB / 363.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.2137, allocations: 0.6175 MB / 364 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.2203, allocations: 0.7538 MB / 364.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.2229, allocations: 363.7 kB / 365.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007698/0.2306, allocations: 3.371 MB / 368.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005988/0.2367, allocations: 2.096 MB / 370.6 MB, free: 60 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3589/0.5956, allocations: 1.154 MB / 371.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006571/0.6023, allocations: 1.63 MB / 373.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001879/0.6042, allocations: 215.9 kB / 373.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.6068, allocations: 324.8 kB / 373.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002151/0.609, allocations: 0.88 MB / 374.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004986/0.614, allocations: 1.455 MB / 376.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008969/0.623, allocations: 3.838 MB / 380.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.6231, allocations: 0.5312 kB / 380.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6231, allocations: 0 / 380.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002471/0.6234, allocations: 0.5312 kB / 380.1 MB, free: 11.42 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.01773/0.6411, allocations: 3.259 MB / 383.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.405e-05/0.6412, allocations: 9 kB / 383.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002836/0.6441, allocations: 330.1 kB / 383.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/0.6508, allocations: 1.702 MB / 385.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.6513, allocations: 179 kB / 385.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.6528, allocations: 239.3 kB / 385.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.666, allocations: 3.133 MB / 388.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.6662, allocations: 13.8 kB / 388.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006739/0.6669, allocations: 96.09 kB / 389 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/0.6672, allocations: 104.8 kB / 389.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.6776, allocations: 2.695 MB / 391.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.7065, allocations: 9.727 MB / 401.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.7119, allocations: 2.166 MB / 403.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.716, allocations: 1.116 MB / 404.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/0.7166, allocations: 206.2 kB / 405 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.7167, allocations: 47.56 kB / 405.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.3e-06/0.7167, allocations: 0 / 405.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.02907/0.7458, allocations: 6.843 MB / 411.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.746, allocations: 64.72 kB / 412 MB, free: 4.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005399/0.7514, allocations: 1.743 MB / 413.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004699/0.7519, allocations: 45.7 kB / 413.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.7535, allocations: 1.158 MB / 414.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.7546, allocations: 454 kB / 415.4 MB, free: 1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.756, allocations: 283.3 kB / 415.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.7563, allocations: 305.1 kB / 416 MB, free: 428 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.7591, allocations: 0.8003 MB / 416.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/0.7624, allocations: 1.205 MB / 418 MB, free: 14.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/0.7687, allocations: 2.096 MB / 420.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/0.7688, allocations: 4 kB / 420.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009775/0.7786, allocations: 2.666 MB / 422.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.7787, allocations: 12 kB / 422.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.7788, allocations: 15.98 kB / 422.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.7808, allocations: 414.1 kB / 423.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.7839, allocations: 361 kB / 423.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.7965, allocations: 6.497 MB / 430 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.7999, allocations: 107.9 kB / 430.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/0.8005, allocations: 60 kB / 430.2 MB, free: 1.605 MB / 334.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.003505/0.804, allocations: 0.7952 MB / 431 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.8052, allocations: 189.6 kB / 431.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008468/0.8137, allocations: 2.371 MB / 433.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.8138, allocations: 16 kB / 433.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/0.8138, allocations: 8 kB / 433.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.8138, allocations: 7.969 kB / 433.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/0.833, allocations: 5.123 MB / 438.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.833, allocations: 7.938 kB / 438.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/0.8353, allocations: 234.8 kB / 438.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.8377, allocations: 456.2 kB / 439.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.838, allocations: 35.98 kB / 439.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.8521, allocations: 7.939 MB / 447.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.8522, allocations: 11.31 kB / 447.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.8633, allocations: 3.519 MB / 450.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.8654, allocations: 426.8 kB / 451.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009766/0.8664, allocations: 35.98 kB / 451.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/0.8685, allocations: 91.84 kB / 451.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005297/0.8691, allocations: 116.6 kB / 451.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.8693, allocations: 39.98 kB / 451.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004439/0.8738, allocations: 1.198 MB / 452.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8738, allocations: 0 / 452.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004563/0.8784, allocations: 0.5079 MB / 453.3 MB, free: 9.859 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.0009118/0.8793, allocations: 198.7 kB / 453.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007747/0.8871, allocations: 2.463 MB / 455.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/0.8872, allocations: 4 kB / 455.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00513/0.8923, allocations: 1.607 MB / 457.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006025/0.8984, allocations: 453.2 kB / 458 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.9178, allocations: 6.121 MB / 464.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/0.9217, allocations: 1.957 MB / 466.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.9231, allocations: 139.4 kB / 466.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.074e-06/0.9232, allocations: 0 / 466.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.4728/1.396, allocations: 79.15 MB / 0.5326 GB, free: 154.9 MB / 446.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 -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