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.0009633/0.0009633, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001108/0.001108, allocations: 175.6 kB / 18.21 MB, free: 5.551 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.364/1.364, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.00044/0.00044, allocations: 8 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07704, allocations: 47.57 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008118/0.0852, allocations: 7.413 MB / 336.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.09016, allocations: 2.56 MB / 339 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.09115, allocations: 23.94 kB / 339.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.09288, allocations: 449.6 kB / 339.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.09419, allocations: 353.5 kB / 339.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.095, allocations: 183.9 kB / 340 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.09686, allocations: 1.179 MB / 341.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009984/0.09787, allocations: 455.8 kB / 341.6 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.09873, allocations: 406.1 kB / 342 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009458/0.09969, allocations: 457.7 kB / 342.5 MB, free: 6.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.0999, allocations: 52 kB / 342.5 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.1004, allocations: 91.98 kB / 342.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.1006, allocations: 175.1 kB / 342.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.1013, allocations: 0.5147 MB / 343.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.1025, allocations: 1.362 MB / 344.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1025, allocations: 0 / 344.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1025, allocations: 0 / 344.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.1025, allocations: 0 / 344.7 MB, free: 3.945 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.002044/0.1046, allocations: 1.153 MB / 345.8 MB, free: 2.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1046, allocations: 12.03 kB / 345.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.1048, allocations: 135.4 kB / 346 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.1053, allocations: 143.6 kB / 346.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.1063, allocations: 0.6376 MB / 346.8 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.1064, allocations: 70.12 kB / 346.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.1065, allocations: 87.91 kB / 346.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1078, allocations: 0.8301 MB / 347.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1079, allocations: 3.938 kB / 347.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.1079, allocations: 36 kB / 347.8 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.108, allocations: 24 kB / 347.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.109, allocations: 0.5543 MB / 348.4 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.1132, allocations: 3.598 MB / 352 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.1138, allocations: 250.3 kB / 352.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.114, allocations: 128.8 kB / 352.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1141, allocations: 0 / 352.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1141, allocations: 38.56 kB / 352.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.001e-06/0.1141, allocations: 0 / 352.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002012/0.1161, allocations: 1.11 MB / 353.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1162, allocations: 93.05 kB / 353.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.1171, allocations: 0.7546 MB / 354.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1171, allocations: 29.7 kB / 354.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.1175, allocations: 0.5174 MB / 354.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.1175, allocations: 110.5 kB / 355 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.1176, allocations: 57.62 kB / 355 MB, free: 9.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1178, allocations: 378.8 kB / 355.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.1181, allocations: 141.2 kB / 355.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.1185, allocations: 462.2 kB / 356 MB, free: 7.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.1193, allocations: 0.6219 MB / 356.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1193, allocations: 4 kB / 356.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001086/0.1204, allocations: 0.6577 MB / 357.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1205, allocations: 19.92 kB / 357.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1205, allocations: 12 kB / 357.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.1206, allocations: 24.86 kB / 357.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1211, allocations: 160.1 kB / 357.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009277/0.122, allocations: 1.295 MB / 358.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.1225, allocations: 52.05 kB / 358.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.1225, allocations: 32 kB / 358.9 MB, free: 4.781 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.0002649/0.1228, allocations: 237.5 kB / 359.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.1229, allocations: 79.05 kB / 359.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.1236, allocations: 354.2 kB / 359.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1236, allocations: 0 / 359.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1236, allocations: 8 kB / 359.5 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1236, allocations: 3.984 kB / 359.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1251, allocations: 1.129 MB / 360.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1251, allocations: 0 / 360.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.1254, allocations: 68.12 kB / 360.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-05/0.1255, allocations: 24.84 kB / 360.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1255, allocations: 4 kB / 360.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007882/0.1263, allocations: 1.284 MB / 362 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.1264, allocations: 4.031 kB / 362 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.1272, allocations: 0.5877 MB / 362.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.1274, allocations: 180.2 kB / 362.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.1275, allocations: 8 kB / 362.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.1279, allocations: 35.91 kB / 362.8 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1279, allocations: 23.91 kB / 362.9 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.128, allocations: 8 kB / 362.9 MB, free: 476 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006235/0.1286, allocations: 0.5147 MB / 363.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1286, allocations: 4 kB / 363.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.1292, allocations: 168 kB / 363.6 MB, free: 15.78 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.001206/0.1304, allocations: 1.175 MB / 364.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007944/0.1312, allocations: 0.489 MB / 365.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1312, allocations: 0 / 365.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.1316, allocations: 247.9 kB / 365.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1326, allocations: 167.3 kB / 365.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009565/0.1422, allocations: 7.359 MB / 373 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.1429, allocations: 0.9526 MB / 373.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.1433, allocations: 94.11 kB / 374 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.1437, allocations: 319.3 kB / 374.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1437, allocations: 0 / 374.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1922/0.336, allocations: 14.94 MB / 389.3 MB, free: 48.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.3362, allocations: 253.2 kB / 389.5 MB, free: 48.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/2.449, allocations: 0 / 389.5 MB, free: 48.63 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","../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