Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.0009183/0.0009183, allocations: 109.6 kB / 20.44 MB, free: 4.578 MB / 13.93 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.001678/0.001678, allocations: 221.3 kB / 23.73 MB, free: 2.137 MB / 13.93 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.038/1.038, allocations: 230.6 MB / 257.4 MB, free: 9.508 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 47.69 MB / 361.6 MB, free: 2.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 95.84 kB / 0.4973 GB, free: 7.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 66.21 MB / 0.5619 GB, free: 5.105 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2407/0.3563, allocations: 10.5 MB / 0.5722 GB, free: 9.812 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006981/0.3633, allocations: 3.778 MB / 0.5759 GB, free: 7.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.3656, allocations: 80.53 kB / 0.576 GB, free: 7.426 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.3686, allocations: 0.8419 MB / 0.5768 GB, free: 7.016 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.3726, allocations: 1.03 MB / 0.5778 GB, free: 6.359 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3742, allocations: 0.5392 MB / 0.5783 GB, free: 6.027 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004213/0.3784, allocations: 3.475 MB / 0.5817 GB, free: 4.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.3805, allocations: 1.484 MB / 0.5832 GB, free: 3.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.3834, allocations: 1.59 MB / 0.5847 GB, free: 2.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.3876, allocations: 1.879 MB / 0.5865 GB, free: 1.973 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.3894, allocations: 408.1 kB / 0.5869 GB, free: 1.973 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.3923, allocations: 0.6234 MB / 0.5875 GB, free: 1.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.394, allocations: 1.165 MB / 0.5887 GB, free: 1.266 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003354/0.3974, allocations: 1.488 MB / 0.5901 GB, free: 436 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007419/0.4048, allocations: 5.436 MB / 0.5954 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4048, allocations: 0 / 0.5954 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4048, allocations: 1.344 kB / 0.5954 GB, free: 14.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002272/0.405, allocations: 0 / 0.5954 GB, free: 14.15 MB / 442.7 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.01034/0.4154, allocations: 3.749 MB / 0.5991 GB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4154, allocations: 13.53 kB / 0.5991 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006743/0.4161, allocations: 386.3 kB / 0.5995 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.4175, allocations: 489.2 kB / 0.5999 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.4208, allocations: 1.928 MB / 0.6018 GB, free: 9.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4209, allocations: 203.2 kB / 0.602 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/0.4213, allocations: 266.4 kB / 0.6023 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005541/0.4268, allocations: 3.649 MB / 0.6058 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-05/0.4269, allocations: 16.22 kB / 0.6059 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.4271, allocations: 107.6 kB / 0.606 GB, free: 7.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.4272, allocations: 118.6 kB / 0.6061 GB, free: 7.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00431/0.4315, allocations: 2.964 MB / 0.609 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.4476, allocations: 9.961 MB / 0.6187 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.4498, allocations: 1.509 MB / 0.6202 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4512, allocations: 1.091 MB / 0.6212 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.4514, allocations: 58 kB / 0.6213 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.4515, allocations: 51.56 kB / 0.6213 GB, free: 11.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 4.549e-06/0.4515, allocations: 0 / 0.6213 GB, free: 11.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=147): time 0.01104/0.4625, allocations: 7.035 MB / 0.6282 GB, free: 4.309 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.4626, allocations: 68.72 kB / 0.6283 GB, free: 4.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.465, allocations: 2.015 MB / 0.6302 GB, free: 2.172 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.4652, allocations: 45.7 kB / 0.6303 GB, free: 2.121 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007023/0.4659, allocations: 1.354 MB / 0.6316 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.4663, allocations: 0.5384 MB / 0.6321 GB, free: 216 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.4666, allocations: 327.4 kB / 0.6324 GB, free: 15.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.4667, allocations: 301.1 kB / 0.6327 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4679, allocations: 0.8862 MB / 0.6336 GB, free: 14.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.4691, allocations: 1.376 MB / 0.6349 GB, free: 13.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.4713, allocations: 2.377 MB / 0.6373 GB, free: 10.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.4713, allocations: 8 kB / 0.6373 GB, free: 10.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004074/0.4754, allocations: 2.908 MB / 0.6401 GB, free: 7.594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.4754, allocations: 16.06 kB / 0.6401 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.4755, allocations: 12 kB / 0.6401 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007564/0.4762, allocations: 454.2 kB / 0.6406 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.4772, allocations: 431.3 kB / 0.641 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/0.4818, allocations: 5.835 MB / 0.6467 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.4834, allocations: 119.8 kB / 0.6468 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.4838, allocations: 84.98 kB / 0.6469 GB, free: 452 kB / 474.7 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 (198): * Single equations (assignments): 193 * 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.001572/0.4854, allocations: 0.8559 MB / 0.6477 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.4858, allocations: 222.6 kB / 0.6479 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.4889, allocations: 2.497 MB / 0.6504 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.4889, allocations: 16 kB / 0.6504 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.4889, allocations: 8 kB / 0.6504 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4889, allocations: 11.91 kB / 0.6504 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/0.4959, allocations: 5.181 MB / 0.6555 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4959, allocations: 7.938 kB / 0.6555 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.4965, allocations: 271.6 kB / 0.6557 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/0.4974, allocations: 0.4944 MB / 0.6562 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/0.4975, allocations: 39.98 kB / 0.6562 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.5031, allocations: 7.313 MB / 0.6634 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5031, allocations: 3.938 kB / 0.6634 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/0.5078, allocations: 3.753 MB / 0.6671 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.5089, allocations: 410.4 kB / 0.6674 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.5092, allocations: 43.98 kB / 0.6675 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.5099, allocations: 91.89 kB / 0.6676 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.5102, allocations: 132.9 kB / 0.6677 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.5103, allocations: 43.98 kB / 0.6677 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001878/0.5121, allocations: 1.368 MB / 0.6691 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5121, allocations: 0 / 0.6691 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001934/0.5141, allocations: 0.5859 MB / 0.6697 GB, free: 8.523 MB / 0.4948 GB 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 (124): * Single equations (assignments): 119 * 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.004673/0.5187, allocations: 4.424 MB / 0.674 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.5223, allocations: 2.443 MB / 0.6764 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.5223, allocations: 8.125 kB / 0.6764 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.524, allocations: 1.538 MB / 0.6779 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.5259, allocations: 500 kB / 0.6783 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/0.5564, allocations: 21.68 MB / 0.6995 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.5577, allocations: 1.585 MB / 0.7011 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001211/0.5589, allocations: 473 kB / 0.7015 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.5603, allocations: 1.069 MB / 0.7026 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/0.5603, allocations: 0 / 0.7026 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/0.7083, allocations: 56.98 MB / 0.7582 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/9.283, allocations: 7.281 kB / 0.7582 GB, free: 13.35 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=2.05 --stepSize=0.000100005 --timeout=50 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy_res.csv --start-time 0 --stop-time 2.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000100005 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.936726693995297]