Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.00146, allocations: 112.8 kB / 17.69 MB, free: 5.312 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.001654/0.001654, allocations: 192 kB / 18.63 MB, free: 4.379 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009932/0.0009933, allocations: 50.62 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09374, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01348/0.1073, allocations: 11.79 MB / 363.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.1149, allocations: 3.928 MB / 367.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.1166, allocations: 67.69 kB / 367.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.1189, allocations: 0.8501 MB / 368.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1217, allocations: 0.9783 MB / 369.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1227, allocations: 0.5305 MB / 369.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1926/0.3153, allocations: 3.432 MB / 373.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/0.3198, allocations: 2.714 MB / 375.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.3223, allocations: 1.529 MB / 377.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.3254, allocations: 1.94 MB / 379.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007736/0.3262, allocations: 408.8 kB / 379.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3277, allocations: 0.6485 MB / 380.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.3288, allocations: 1.148 MB / 381.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.3309, allocations: 1.836 MB / 383.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.3356, allocations: 5.375 MB / 388.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3356, allocations: 4 kB / 388.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3356, allocations: 0 / 388.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.3357, allocations: 0 / 388.7 MB, free: 7.781 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.008002/0.3438, allocations: 3.709 MB / 392.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3438, allocations: 9.625 kB / 392.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3452, allocations: 433.1 kB / 392.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.3488, allocations: 1.957 MB / 394.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.349, allocations: 203.6 kB / 395 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.3493, allocations: 273.3 kB / 395.2 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.3546, allocations: 3.519 MB / 398.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.3547, allocations: 10.86 kB / 398.8 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.3549, allocations: 109.4 kB / 398.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.3551, allocations: 117.6 kB / 399 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.3596, allocations: 2.971 MB / 402 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/0.3778, allocations: 10.97 MB / 412.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.3805, allocations: 2.287 MB / 415.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.3824, allocations: 1.183 MB / 416.4 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.3827, allocations: 206.5 kB / 416.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3828, allocations: 47.86 kB / 416.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.797e-06/0.3828, allocations: 0 / 416.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01579/0.3986, allocations: 7.497 MB / 424.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.3987, allocations: 75.62 kB / 424.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.4017, allocations: 1.983 MB / 426.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.4019, allocations: 49.7 kB / 426.3 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009415/0.4028, allocations: 1.306 MB / 427.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.4033, allocations: 0.5064 MB / 428.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/0.4038, allocations: 331.2 kB / 428.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.404, allocations: 305.1 kB / 428.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.4054, allocations: 0.8862 MB / 429.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.4072, allocations: 1.37 MB / 430.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.4105, allocations: 2.383 MB / 433.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.4105, allocations: 4 kB / 433.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005309/0.4158, allocations: 2.98 MB / 436.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.4159, allocations: 12 kB / 436.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.4159, allocations: 12 kB / 436.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.4171, allocations: 465.5 kB / 436.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.4187, allocations: 431.6 kB / 437.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/0.4251, allocations: 6.091 MB / 443.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.4272, allocations: 134.9 kB / 443.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.4275, allocations: 72 kB / 443.5 MB, free: 4.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001911/0.4294, allocations: 0.8571 MB / 444.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007578/0.4301, allocations: 209.5 kB / 444.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.4351, allocations: 2.597 MB / 447.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.4352, allocations: 16 kB / 447.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4352, allocations: 8 kB / 447.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.4352, allocations: 11.97 kB / 447.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.4461, allocations: 5.615 MB / 452.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4462, allocations: 4 kB / 452.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.4474, allocations: 282.6 kB / 453.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.4488, allocations: 496.6 kB / 453.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.4489, allocations: 39.98 kB / 453.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007454/0.4564, allocations: 7.678 MB / 461.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4564, allocations: 7.938 kB / 461.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006141/0.4626, allocations: 3.838 MB / 465.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.4642, allocations: 482.4 kB / 465.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/0.4647, allocations: 39.97 kB / 465.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.4659, allocations: 95.89 kB / 465.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.4662, allocations: 124.5 kB / 465.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.4663, allocations: 42.27 kB / 465.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00194/0.4682, allocations: 1.363 MB / 467.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4683, allocations: 0 / 467.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002129/0.4704, allocations: 0.582 MB / 467.9 MB, free: 11.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.0005141/0.4709, allocations: 220.5 kB / 468.1 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004475/0.4754, allocations: 2.607 MB / 470.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.4754, allocations: 4 kB / 470.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.4782, allocations: 1.611 MB / 472.3 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.4811, allocations: 0.4929 MB / 472.8 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4919, allocations: 5.59 MB / 478.4 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.4939, allocations: 2.143 MB / 480.5 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001723/0.4957, allocations: 469 kB / 481 MB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.4962, allocations: 131.4 kB / 481.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4962, allocations: 0 / 481.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.05793/0.5541, allocations: 30.94 MB / 0.5 GB, free: 15.46 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches