Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.4 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 62.31 kB / 306.4 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 50.54 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01307/0.1224, allocations: 11.74 MB / 368.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1982/0.3206, allocations: 3.926 MB / 372.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.3229, allocations: 60.94 kB / 372.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3253, allocations: 0.7518 MB / 373.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.3281, allocations: 0.8848 MB / 374.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3293, allocations: 483.9 kB / 374.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00456/0.3339, allocations: 3.447 MB / 378.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.3371, allocations: 2.717 MB / 381 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.3397, allocations: 1.547 MB / 382.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.343, allocations: 1.982 MB / 384.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008338/0.3439, allocations: 409.3 kB / 384.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.3457, allocations: 0.6287 MB / 385.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.3472, allocations: 1.155 MB / 386.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002299/0.3496, allocations: 1.842 MB / 388.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.3545, allocations: 5.323 MB / 393.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3546, allocations: 0 / 393.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3546, allocations: 1.375 kB / 393.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.3547, allocations: 0 / 393.9 MB, free: 1.602 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.008024/0.3627, allocations: 3.73 MB / 397.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3628, allocations: 9.938 kB / 397.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.3647, allocations: 468.5 kB / 398.1 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.3683, allocations: 1.923 MB / 400 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.3685, allocations: 220.8 kB / 400.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.3689, allocations: 267.3 kB / 400.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/0.3759, allocations: 3.518 MB / 404 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/0.376, allocations: 8 kB / 404 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.3763, allocations: 110.4 kB / 404.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.3764, allocations: 121.2 kB / 404.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005112/0.3815, allocations: 2.972 MB / 407.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.3994, allocations: 11.09 MB / 418.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.4022, allocations: 2.281 MB / 420.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.4043, allocations: 1.189 MB / 421.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/0.4046, allocations: 206 kB / 421.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4046, allocations: 51.88 kB / 422 MB, free: 7.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.476e-06/0.4047, allocations: 0 / 422 MB, free: 7.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=148): time 0.01692/0.4216, allocations: 7.519 MB / 429.5 MB, free: 208 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.4217, allocations: 64.72 kB / 429.6 MB, free: 128 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.425, allocations: 1.993 MB / 431.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.4253, allocations: 49.7 kB / 431.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009564/0.4262, allocations: 1.316 MB / 432.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/0.4268, allocations: 0.5074 MB / 433.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/0.4273, allocations: 329.9 kB / 433.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4275, allocations: 305.1 kB / 434.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.429, allocations: 0.8784 MB / 434.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.4308, allocations: 1.375 MB / 436.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.434, allocations: 2.379 MB / 438.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.434, allocations: 8 kB / 438.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005272/0.4393, allocations: 2.978 MB / 441.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.4394, allocations: 11.94 kB / 441.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.4394, allocations: 16 kB / 441.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4406, allocations: 467.6 kB / 442.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.4422, allocations: 431.3 kB / 442.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/0.4489, allocations: 6.101 MB / 448.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.4513, allocations: 119.8 kB / 448.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.4515, allocations: 75.98 kB / 448.9 MB, free: 12.05 MB / 366.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.4535, allocations: 0.8609 MB / 449.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005923/0.4541, allocations: 217.3 kB / 450 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.4587, allocations: 2.59 MB / 452.5 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.4588, allocations: 16 kB / 452.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4588, allocations: 4 kB / 452.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4588, allocations: 7.969 kB / 452.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.4693, allocations: 5.65 MB / 458.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.4693, allocations: 4 kB / 458.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.4706, allocations: 280 kB / 458.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.472, allocations: 0.4904 MB / 459 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.4722, allocations: 39.98 kB / 459 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008085/0.4802, allocations: 7.693 MB / 466.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4803, allocations: 7.938 kB / 466.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.4869, allocations: 3.829 MB / 470.6 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.4884, allocations: 482.4 kB / 471 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.4887, allocations: 35.98 kB / 471.1 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.4899, allocations: 99.02 kB / 471.2 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.4903, allocations: 121 kB / 471.3 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.4904, allocations: 43.98 kB / 471.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002166/0.4926, allocations: 1.368 MB / 472.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4926, allocations: 0 / 472.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002314/0.4949, allocations: 0.5859 MB / 473.3 MB, free: 2.949 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.0005345/0.4954, allocations: 232 kB / 473.5 MB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006622/0.5021, allocations: 3.353 MB / 476.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5021, allocations: 0 / 476.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.5049, allocations: 1.616 MB / 478.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.5081, allocations: 0.4919 MB / 479 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5191, allocations: 6.846 MB / 485.8 MB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/0.5211, allocations: 2.14 MB / 487.9 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001842/0.523, allocations: 473 kB / 488.4 MB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.5235, allocations: 139.4 kB / 488.5 MB, free: 3.5 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5235, allocations: 0 / 488.5 MB, free: 3.5 MB / 398.1 MB Notification: Performance of Templates: time 0.05642/0.5799, allocations: 30.8 MB / 0.5072 GB, free: 4.992 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches