Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.00157/0.00157, allocations: 114 kB / 20.43 MB, free: 1.457 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.00178/0.00178, allocations: 217.1 kB / 23.74 MB, free: 4.672 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.91 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01223/0.3768, allocations: 8.05 MB / 439.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006797/0.3836, allocations: 2.664 MB / 441.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.3853, allocations: 27.88 kB / 441.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.3873, allocations: 0.5204 MB / 442.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.3893, allocations: 432.8 kB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.3902, allocations: 227.6 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.3929, allocations: 1.237 MB / 444.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009553/0.3939, allocations: 371.5 kB / 444.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.3952, allocations: 498.1 kB / 445.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009146/0.3961, allocations: 0.5211 MB / 445.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.3963, allocations: 112 kB / 445.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.3966, allocations: 156 kB / 446 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3969, allocations: 239.1 kB / 446.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.3976, allocations: 0.5599 MB / 446.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.3997, allocations: 1.478 MB / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3997, allocations: 0 / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3997, allocations: 0 / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.3997, allocations: 0 / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002473/0.4022, allocations: 1.264 MB / 449.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4022, allocations: 12.03 kB / 449.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.4024, allocations: 131.5 kB / 449.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.4031, allocations: 176.2 kB / 449.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.4044, allocations: 0.5804 MB / 450.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.4044, allocations: 70.06 kB / 450.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4046, allocations: 91.98 kB / 450.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.406, allocations: 0.8145 MB / 451.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.4061, allocations: 7.891 kB / 451.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.4061, allocations: 36 kB / 451.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.4062, allocations: 24 kB / 451.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.4073, allocations: 0.5426 MB / 452 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.4124, allocations: 3.449 MB / 455.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.413, allocations: 234.7 kB / 455.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.4133, allocations: 112.8 kB / 455.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4133, allocations: 3.938 kB / 455.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.4134, allocations: 38.55 kB / 455.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.236e-06/0.4134, allocations: 0 / 455.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002479/0.4159, allocations: 0.9425 MB / 456.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.4159, allocations: 81.05 kB / 456.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.417, allocations: 0.7741 MB / 457.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.417, allocations: 29.7 kB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.4175, allocations: 0.5228 MB / 458.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4176, allocations: 115.1 kB / 458.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.4178, allocations: 118.2 kB / 458.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.418, allocations: 382.8 kB / 458.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.4183, allocations: 129.2 kB / 458.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.4188, allocations: 446.2 kB / 459.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/0.4197, allocations: 0.6215 MB / 459.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4197, allocations: 4 kB / 460 MB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001122/0.4209, allocations: 0.6468 MB / 460.6 MB, free: 8.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4209, allocations: 20.12 kB / 460.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4209, allocations: 8 kB / 460.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.4211, allocations: 36.84 kB / 460.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.4216, allocations: 151.7 kB / 460.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.4228, allocations: 1.291 MB / 462.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.4232, allocations: 44.06 kB / 462.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.4233, allocations: 36 kB / 462.2 MB, free: 6.723 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003689/0.4237, allocations: 241.5 kB / 462.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4238, allocations: 79.48 kB / 462.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.4245, allocations: 329.9 kB / 462.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4245, allocations: 8 kB / 462.8 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4245, allocations: 3.938 kB / 462.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4245, allocations: 3.984 kB / 462.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4262, allocations: 1.081 MB / 463.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4262, allocations: 3.938 kB / 463.9 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.4265, allocations: 67.89 kB / 464 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.175e-05/0.4266, allocations: 24.8 kB / 464 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.4266, allocations: 7.984 kB / 464 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.4277, allocations: 1.275 MB / 465.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4277, allocations: 4.031 kB / 465.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.4286, allocations: 0.576 MB / 465.9 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.4288, allocations: 103.5 kB / 466 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.4289, allocations: 8 kB / 466 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.4292, allocations: 27.97 kB / 466 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.4293, allocations: 19.97 kB / 466 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.4293, allocations: 15.98 kB / 466 MB, free: 2.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000719/0.4301, allocations: 0.5185 MB / 466.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4301, allocations: 0 / 466.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007125/0.4308, allocations: 171.9 kB / 466.7 MB, free: 1.922 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.001529/0.4323, allocations: 1.142 MB / 467.9 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4334, allocations: 468.4 kB / 468.3 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4334, allocations: 0 / 468.3 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.4338, allocations: 234.5 kB / 468.6 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.4349, allocations: 193.5 kB / 468.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.4456, allocations: 6.54 MB / 475.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.4463, allocations: 0.9526 MB / 476.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.4467, allocations: 98.14 kB / 476.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.4472, allocations: 315.3 kB / 476.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.4472, allocations: 0 / 476.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07047/0.5176, allocations: 16.61 MB / 493.3 MB, free: 7.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.2, allocations: 0 / 493.3 MB, free: 7.059 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.345307362964377]