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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 105.1 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 214.9 kB / 24.52 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2708, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01532/0.2861, allocations: 10.41 MB / 442.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.2949, allocations: 3.764 MB / 446.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.2973, allocations: 83.44 kB / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002984/0.3002, allocations: 0.8388 MB / 447 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.3052, allocations: 1.041 MB / 448.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3073, allocations: 0.5344 MB / 448.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005598/0.3129, allocations: 3.475 MB / 452.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.3163, allocations: 1.545 MB / 453.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.3193, allocations: 1.589 MB / 455.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.3229, allocations: 1.993 MB / 457.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.3241, allocations: 408 kB / 457.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.3261, allocations: 0.6362 MB / 458.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002223/0.3283, allocations: 1.161 MB / 459.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.332, allocations: 1.494 MB / 460.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008244/0.3402, allocations: 5.426 MB / 466.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3402, allocations: 0 / 466.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3402, allocations: 4 kB / 466.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.3404, allocations: 0 / 466.3 MB, free: 3.879 MB / 366.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.01096/0.3514, allocations: 3.741 MB / 470.1 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.3515, allocations: 20.02 kB / 470.1 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000119/0.3516, allocations: 69.62 kB / 470.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.3527, allocations: 388 kB / 470.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.3552, allocations: 486.5 kB / 471 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.36, allocations: 1.914 MB / 472.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.3603, allocations: 201.4 kB / 473.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007746/0.361, allocations: 275.9 kB / 473.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008711/0.3697, allocations: 3.65 MB / 477 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.3698, allocations: 7.938 kB / 477 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/0.3704, allocations: 108 kB / 477.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.3705, allocations: 125.2 kB / 477.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006786/0.3773, allocations: 2.964 MB / 480.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.3989, allocations: 9.964 MB / 490.2 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.4018, allocations: 1.499 MB / 491.7 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.404, allocations: 1.094 MB / 492.8 MB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.4043, allocations: 53.27 kB / 492.8 MB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.4044, allocations: 47.88 kB / 492.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 5.27e-06/0.4044, allocations: 0 / 492.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01766/0.422, allocations: 7.104 MB / 500 MB, free: 1.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.4221, allocations: 64.72 kB / 0.4883 GB, free: 1.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/0.4261, allocations: 2 MB / 0.4903 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.4263, allocations: 45.7 kB / 0.4903 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.4275, allocations: 1.346 MB / 0.4916 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/0.4282, allocations: 0.5346 MB / 0.4922 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007184/0.4289, allocations: 323.5 kB / 0.4925 GB, free: 13.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.429, allocations: 301.1 kB / 0.4928 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.4306, allocations: 0.8862 MB / 0.4936 GB, free: 12.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.4327, allocations: 1.376 MB / 0.495 GB, free: 10.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.4365, allocations: 2.381 MB / 0.4973 GB, free: 7.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.4365, allocations: 4 kB / 0.4973 GB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005915/0.4424, allocations: 2.915 MB / 0.5001 GB, free: 4.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.4425, allocations: 12 kB / 0.5001 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.4425, allocations: 12 kB / 0.5002 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.4438, allocations: 465.3 kB / 0.5006 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.4456, allocations: 427.3 kB / 0.501 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/0.453, allocations: 5.845 MB / 0.5067 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.4549, allocations: 123.8 kB / 0.5068 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.4552, allocations: 72.14 kB / 0.5069 GB, free: 13.77 MB / 430.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.001852/0.4571, allocations: 0.8565 MB / 0.5077 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007545/0.4578, allocations: 226.5 kB / 0.508 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005329/0.4632, allocations: 2.508 MB / 0.5104 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/0.4632, allocations: 19.98 kB / 0.5104 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/0.4632, allocations: 4 kB / 0.5104 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.4632, allocations: 7.969 kB / 0.5104 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.4747, allocations: 5.195 MB / 0.5155 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.4747, allocations: 4.406 kB / 0.5155 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.476, allocations: 279.6 kB / 0.5158 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.4776, allocations: 0.4941 MB / 0.5163 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.4778, allocations: 39.98 kB / 0.5163 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/0.4866, allocations: 7.318 MB / 0.5235 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4866, allocations: 4 kB / 0.5235 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/0.494, allocations: 3.765 MB / 0.5271 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.4954, allocations: 426.3 kB / 0.5275 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006683/0.496, allocations: 40.05 kB / 0.5276 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.4976, allocations: 95.89 kB / 0.5277 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.498, allocations: 121 kB / 0.5278 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.4981, allocations: 39.98 kB / 0.5278 GB, free: 7.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002858/0.501, allocations: 1.368 MB / 0.5292 GB, free: 6.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.501, allocations: 4 kB / 0.5292 GB, free: 6.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00267/0.5036, allocations: 0.5936 MB / 0.5297 GB, free: 5.789 MB / 446.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.00751/0.5111, allocations: 4.417 MB / 0.5341 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2076/0.7187, allocations: 2.442 MB / 0.5364 GB, free: 103.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.7187, allocations: 2.406 kB / 0.5364 GB, free: 103.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002613/0.7213, allocations: 1.545 MB / 0.5379 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.7238, allocations: 0.4898 MB / 0.5384 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/0.7514, allocations: 21.68 MB / 0.5596 GB, free: 87.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.7529, allocations: 1.581 MB / 0.5611 GB, free: 86.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.7543, allocations: 465 kB / 0.5616 GB, free: 85.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.7554, allocations: 1.066 MB / 0.5626 GB, free: 84.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7554, allocations: 0 / 0.5626 GB, free: 84.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08942/0.8448, allocations: 57.05 MB / 0.6183 GB, free: 28.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.66, allocations: 8 kB / 0.6183 GB, free: 28.16 MB / 446.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 30.06083991401829]