Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 96.52 kB / 17.58 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 192.2 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 56.14 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08843, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009321/0.09779, allocations: 7.927 MB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.1027, allocations: 2.61 MB / 337.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007288/0.1035, allocations: 20 kB / 337.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.1049, allocations: 0.5008 MB / 338.4 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.1061, allocations: 408.7 kB / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.1066, allocations: 215.6 kB / 339.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1079, allocations: 1.214 MB / 340.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.1087, allocations: 0.5448 MB / 340.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.1094, allocations: 474.2 kB / 341.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.11, allocations: 0.5211 MB / 341.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.1101, allocations: 116 kB / 341.9 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.1105, allocations: 152 kB / 342.1 MB, free: 5.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1106, allocations: 235.1 kB / 342.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.1111, allocations: 0.5638 MB / 342.8 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1124, allocations: 1.44 MB / 344.3 MB, free: 3.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1124, allocations: 4 kB / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1124, allocations: 0 / 344.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.1125, allocations: 0 / 344.3 MB, free: 3.367 MB / 286.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.002071/0.1145, allocations: 1.297 MB / 345.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1146, allocations: 8.031 kB / 345.6 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.1148, allocations: 135.5 kB / 345.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.1152, allocations: 155.5 kB / 345.9 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008864/0.1161, allocations: 0.6338 MB / 346.5 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.1162, allocations: 70.06 kB / 346.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1163, allocations: 83.91 kB / 346.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1176, allocations: 0.8184 MB / 347.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.1177, allocations: 7.938 kB / 347.5 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.1177, allocations: 36 kB / 347.5 MB, free: 0 / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.1178, allocations: 20.05 kB / 347.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1188, allocations: 0.5465 MB / 348.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.123, allocations: 3.578 MB / 351.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.1235, allocations: 251.9 kB / 351.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.1238, allocations: 124.7 kB / 352 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1238, allocations: 0 / 352 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1239, allocations: 38.56 kB / 352.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.1239, allocations: 0 / 352.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002021/0.1259, allocations: 1.063 MB / 353.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.126, allocations: 85.05 kB / 353.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.1269, allocations: 0.7663 MB / 354 MB, free: 9.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1269, allocations: 33.7 kB / 354 MB, free: 9.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.1273, allocations: 0.5174 MB / 354.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.1274, allocations: 102.5 kB / 354.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.1275, allocations: 126.1 kB / 354.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1277, allocations: 378.8 kB / 355.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.128, allocations: 129.2 kB / 355.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.1285, allocations: 450.2 kB / 355.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.1293, allocations: 0.6179 MB / 356.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1293, allocations: 0 / 356.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001124/0.1304, allocations: 0.6423 MB / 357 MB, free: 5.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1305, allocations: 15.92 kB / 357 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1305, allocations: 16.09 kB / 357 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.1307, allocations: 32.86 kB / 357 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.1311, allocations: 147.7 kB / 357.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1323, allocations: 1.394 MB / 358.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.1328, allocations: 47.98 kB / 358.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.1328, allocations: 32 kB / 358.6 MB, free: 4.035 MB / 302.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.0002933/0.1331, allocations: 245.5 kB / 358.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.1332, allocations: 75.06 kB / 359 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006674/0.1339, allocations: 341.9 kB / 359.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1339, allocations: 4 kB / 359.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1339, allocations: 3.938 kB / 359.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1339, allocations: 0 / 359.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.1356, allocations: 1.114 MB / 360.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1356, allocations: 0 / 360.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.1359, allocations: 63.89 kB / 360.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.766e-05/0.136, allocations: 25.08 kB / 360.5 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.136, allocations: 11.98 kB / 360.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.1372, allocations: 1.378 MB / 361.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1373, allocations: 4.031 kB / 361.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009121/0.1382, allocations: 0.5765 MB / 362.5 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.1384, allocations: 180.2 kB / 362.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.1385, allocations: 8 kB / 362.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.1388, allocations: 19.98 kB / 362.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.1389, allocations: 23.91 kB / 362.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1389, allocations: 12 kB / 362.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006281/0.1396, allocations: 0.5225 MB / 363.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1396, allocations: 3.938 kB / 363.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006892/0.1403, allocations: 172 kB / 363.4 MB, free: 14.97 MB / 318.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.00131/0.1416, allocations: 1.132 MB / 364.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1426, allocations: 491.7 kB / 365 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1427, allocations: 3.938 kB / 365 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.143, allocations: 244.1 kB / 365.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1441, allocations: 183.4 kB / 365.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/0.153, allocations: 6.911 MB / 372.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.1536, allocations: 0.9487 MB / 373.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.154, allocations: 94.17 kB / 373.4 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.1544, allocations: 315.3 kB / 373.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1544, allocations: 0 / 373.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1841/0.3385, allocations: 15.71 MB / 389.4 MB, free: 49.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.37, allocations: 1.938 kB / 389.4 MB, free: 49.8 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches