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.001545/0.001545, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001297/0.001296, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.049/2.049, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 42.5 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 49.44 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.02149/0.1813, allocations: 11.69 MB / 361.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.194, allocations: 3.897 MB / 365.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.1976, allocations: 59.75 kB / 365.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00438/0.2021, allocations: 0.7461 MB / 366.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.2081, allocations: 0.8974 MB / 367.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.2114, allocations: 467.5 kB / 367.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3586/0.57, allocations: 3.848 MB / 371.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006035/0.5761, allocations: 2.277 MB / 373.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.5801, allocations: 1.337 MB / 375.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006538/0.5867, allocations: 1.856 MB / 377.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002349/0.5891, allocations: 248.5 kB / 377.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.593, allocations: 0.4993 MB / 377.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002936/0.5959, allocations: 0.982 MB / 378.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006252/0.6022, allocations: 1.67 MB / 380.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.6131, allocations: 4.393 MB / 384.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.6132, allocations: 0 / 384.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6132, allocations: 4 kB / 384.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002639/0.6135, allocations: 1.438 kB / 384.9 MB, free: 8.586 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.01918/0.6327, allocations: 3.712 MB / 388.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/0.6328, allocations: 8.875 kB / 388.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.636, allocations: 434.3 kB / 389.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007203/0.6432, allocations: 1.906 MB / 391 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.6436, allocations: 204.2 kB / 391.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.6447, allocations: 270.6 kB / 391.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.6582, allocations: 3.525 MB / 395 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.6584, allocations: 2.719 kB / 395 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005427/0.659, allocations: 106.8 kB / 395.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002746/0.6592, allocations: 126.3 kB / 395.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.6696, allocations: 2.967 MB / 398.2 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03848/0.7082, allocations: 11.09 MB / 409.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/0.714, allocations: 2.289 MB / 411.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/0.718, allocations: 1.194 MB / 412.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.7186, allocations: 199.4 kB / 412.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.7187, allocations: 47.88 kB / 413 MB, free: 2.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 1.077e-05/0.7187, allocations: 4 kB / 413 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03265/0.7514, allocations: 7.497 MB / 420.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.7515, allocations: 71.28 kB / 420.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/0.7583, allocations: 1.983 MB / 422.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005597/0.7589, allocations: 49.7 kB / 422.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.7608, allocations: 1.306 MB / 423.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.762, allocations: 0.5064 MB / 424.4 MB, free: 7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.7635, allocations: 326.8 kB / 424.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7637, allocations: 305.1 kB / 425 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.7665, allocations: 0.889 MB / 425.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/0.7699, allocations: 1.373 MB / 427.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/0.7764, allocations: 2.383 MB / 429.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.782e-05/0.7765, allocations: 4 kB / 429.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01031/0.7868, allocations: 2.975 MB / 432.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.7869, allocations: 12.38 kB / 432.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.763e-05/0.787, allocations: 23.94 kB / 432.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/0.789, allocations: 460 kB / 433.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/0.7923, allocations: 425.6 kB / 433.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.8038, allocations: 5.589 MB / 439.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/0.8075, allocations: 119.9 kB / 439.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/0.8081, allocations: 79.98 kB / 439.3 MB, free: 7.574 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.003285/0.8114, allocations: 0.8547 MB / 440.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.8127, allocations: 209.5 kB / 440.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008592/0.8213, allocations: 2.586 MB / 443 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.079e-05/0.8214, allocations: 31.92 kB / 443 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.8215, allocations: 4 kB / 443 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.8215, allocations: 3.984 kB / 443 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.8414, allocations: 5.641 MB / 448.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/0.8415, allocations: 7.984 kB / 448.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/0.8437, allocations: 281.3 kB / 448.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.8461, allocations: 498.4 kB / 449.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/0.8465, allocations: 39.97 kB / 449.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.8598, allocations: 7.051 MB / 456.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.8599, allocations: 11.66 kB / 456.5 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.8725, allocations: 3.836 MB / 460.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/0.8751, allocations: 482.4 kB / 460.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/0.8766, allocations: 39.92 kB / 460.9 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/0.8799, allocations: 95.89 kB / 460.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/0.8806, allocations: 120.6 kB / 461.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/0.881, allocations: 51.98 kB / 461.1 MB, free: 1.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005059/0.886, allocations: 1.356 MB / 462.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8861, allocations: 4 kB / 462.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005442/0.8915, allocations: 0.582 MB / 463.1 MB, free: 15.3 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.001164/0.8927, allocations: 234.8 kB / 463.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007921/0.9007, allocations: 2.593 MB / 465.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.9007, allocations: 4.125 kB / 465.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004631/0.9054, allocations: 1.608 MB / 467.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005819/0.9112, allocations: 468.4 kB / 467.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.9326, allocations: 6.877 MB / 474.8 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/0.9371, allocations: 2.112 MB / 476.9 MB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/0.9388, allocations: 151.4 kB / 477.1 MB, free: 1.203 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.9388, allocations: 0 / 477.1 MB, free: 1.203 MB / 382.1 MB Notification: Performance of Templates: time 0.4787/1.418, allocations: 75.16 MB / 0.5393 GB, free: 153 MB / 446.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 -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