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.001307/0.001307, allocations: 120 kB / 18.49 MB, free: 4.566 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.001361/0.001361, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.51/1.51, allocations: 230.5 MB / 254.7 MB, free: 15.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 59.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1054, allocations: 53.38 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009376/0.1148, allocations: 8.026 MB / 435.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.1196, allocations: 2.652 MB / 437.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1208, allocations: 23.94 kB / 437.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.1225, allocations: 0.5282 MB / 438.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1239, allocations: 432.8 kB / 438.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.1244, allocations: 215.7 kB / 438.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1261, allocations: 1.236 MB / 440.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000694/0.1268, allocations: 370 kB / 440.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009898/0.1278, allocations: 0.4942 MB / 441 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000683/0.1285, allocations: 0.5172 MB / 441.5 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.1286, allocations: 120 kB / 441.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.129, allocations: 164 kB / 441.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1292, allocations: 235.2 kB / 442 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.1298, allocations: 0.5637 MB / 442.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.1317, allocations: 1.463 MB / 444.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1317, allocations: 3.938 kB / 444.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1317, allocations: 0 / 444.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.1317, allocations: 0 / 444.1 MB, free: 3.504 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002521/0.1342, allocations: 1.331 MB / 445.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1343, allocations: 8.031 kB / 445.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.75e-05/0.1343, allocations: 30.19 kB / 445.4 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.1345, allocations: 131.5 kB / 445.6 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.1353, allocations: 176.2 kB / 445.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1365, allocations: 0.6499 MB / 446.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.1366, allocations: 69.88 kB / 446.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.1367, allocations: 87.98 kB / 446.5 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.1381, allocations: 0.8262 MB / 447.4 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1382, allocations: 3.953 kB / 447.4 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.1382, allocations: 36 kB / 447.4 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.1383, allocations: 20 kB / 447.4 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2249/0.3632, allocations: 0.5372 MB / 448 MB, free: 24.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.3675, allocations: 3.551 MB / 451.5 MB, free: 22.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.368, allocations: 226.7 kB / 451.7 MB, free: 22.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.3683, allocations: 110.1 kB / 451.9 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3683, allocations: 6.344 kB / 451.9 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3683, allocations: 36.08 kB / 451.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.3683, allocations: 3.812 kB / 451.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002383/0.3707, allocations: 1.094 MB / 453 MB, free: 21.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3708, allocations: 82.02 kB / 453.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3719, allocations: 0.7655 MB / 453.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3719, allocations: 30.8 kB / 453.9 MB, free: 21.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.3722, allocations: 0.5248 MB / 454.4 MB, free: 20.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/0.3723, allocations: 111.7 kB / 454.5 MB, free: 20.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.3725, allocations: 121.5 kB / 454.6 MB, free: 20.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3726, allocations: 389.9 kB / 455 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.3729, allocations: 126.6 kB / 455.1 MB, free: 20.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.3734, allocations: 447.4 kB / 455.6 MB, free: 19.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.3742, allocations: 0.6105 MB / 456.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3742, allocations: 8.297 kB / 456.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001104/0.3753, allocations: 0.6557 MB / 456.8 MB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3753, allocations: 9.094 kB / 456.8 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3753, allocations: 14.78 kB / 456.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.3755, allocations: 34.45 kB / 456.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.376, allocations: 149.1 kB / 457 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008364/0.3768, allocations: 1.395 MB / 458.4 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.3774, allocations: 42 kB / 458.5 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.3774, allocations: 37.56 kB / 458.5 MB, free: 17.5 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.0003444/0.3778, allocations: 244.3 kB / 458.7 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3779, allocations: 82.8 kB / 458.8 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006994/0.3786, allocations: 337.7 kB / 459.2 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3786, allocations: 3.031 kB / 459.2 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3786, allocations: 1.375 kB / 459.2 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3786, allocations: 2.016 kB / 459.2 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3803, allocations: 1.104 MB / 460.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.3803, allocations: 6.516 kB / 460.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3807, allocations: 63.55 kB / 460.3 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-05/0.3808, allocations: 31.7 kB / 460.4 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3808, allocations: 8.516 kB / 460.4 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006815/0.3815, allocations: 1.373 MB / 461.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3815, allocations: 5.938 kB / 461.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.3824, allocations: 0.5771 MB / 462.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3826, allocations: 184.8 kB / 462.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.3827, allocations: 9.281 kB / 462.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.383, allocations: 19.91 kB / 462.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.3831, allocations: 27.05 kB / 462.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3831, allocations: 12.81 kB / 462.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.3838, allocations: 0.5124 MB / 463.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 5.406 kB / 463.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007988/0.3846, allocations: 170.6 kB / 463.3 MB, free: 14.2 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.001189/0.3858, allocations: 1.139 MB / 464.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.3868, allocations: 470.5 kB / 464.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3868, allocations: 5.031 kB / 464.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.3871, allocations: 241.7 kB / 465.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009461/0.3881, allocations: 191.7 kB / 465.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/0.3978, allocations: 6.528 MB / 471.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.3983, allocations: 0.9508 MB / 472.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005023/0.3988, allocations: 93.95 kB / 472.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.3992, allocations: 321.1 kB / 473.2 MB, free: 7.824 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3992, allocations: 0 / 473.2 MB, free: 7.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06956/0.4688, allocations: 16.23 MB / 489.4 MB, free: 488 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.79, allocations: 7.406 kB / 489.4 MB, free: 488 kB / 366.1 MB " [Timeout remaining time 648] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.740297528041992]