Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",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.001848/0.001848, allocations: 100.6 kB / 17.58 MB, free: 5.406 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.001916/0.001916, allocations: 196 kB / 18.51 MB, free: 4.496 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.456/1.456, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001658/0.001658, allocations: 60.14 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09544, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01011/0.1056, allocations: 7.927 MB / 335.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.1103, allocations: 2.635 MB / 338 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.111, allocations: 23.94 kB / 338 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.1125, allocations: 0.5402 MB / 338.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1136, allocations: 460.4 kB / 339 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1141, allocations: 243.7 kB / 339.2 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.1157, allocations: 1.424 MB / 340.6 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.1166, allocations: 0.5846 MB / 341.2 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007138/0.1173, allocations: 0.533 MB / 341.8 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.1182, allocations: 0.5794 MB / 342.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1183, allocations: 136 kB / 342.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.1187, allocations: 179.9 kB / 342.6 MB, free: 5.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1189, allocations: 271 kB / 342.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006555/0.1196, allocations: 0.6571 MB / 343.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.1215, allocations: 1.674 MB / 345.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1215, allocations: 0 / 345.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1215, allocations: 0 / 345.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.1216, allocations: 0 / 345.2 MB, free: 2.41 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00255/0.1241, allocations: 1.425 MB / 346.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1242, allocations: 8.031 kB / 346.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.1244, allocations: 152.3 kB / 346.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.1249, allocations: 175.3 kB / 347 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1261, allocations: 0.7103 MB / 347.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.1262, allocations: 74 kB / 347.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.1263, allocations: 99.98 kB / 347.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.1279, allocations: 0.9229 MB / 348.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.128, allocations: 0 / 348.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.128, allocations: 40 kB / 348.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.1281, allocations: 24 kB / 348.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1293, allocations: 0.6246 MB / 349.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005232/0.1346, allocations: 3.92 MB / 353.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.1352, allocations: 355.6 kB / 353.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1355, allocations: 140.8 kB / 353.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1356, allocations: 4 kB / 353.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1356, allocations: 46.48 kB / 353.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.1356, allocations: 0 / 353.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002507/0.1381, allocations: 1.193 MB / 355.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.1382, allocations: 81.11 kB / 355.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.1394, allocations: 0.8214 MB / 356 MB, free: 7.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1394, allocations: 33.7 kB / 356.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.1399, allocations: 0.564 MB / 356.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.14, allocations: 138.2 kB / 356.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.1402, allocations: 126.5 kB / 356.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1404, allocations: 337.8 kB / 357.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.1407, allocations: 145.9 kB / 357.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.1413, allocations: 463.9 kB / 357.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.1423, allocations: 0.6315 MB / 358.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1423, allocations: 7.984 kB / 358.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001333/0.1436, allocations: 0.6845 MB / 359.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.1437, allocations: 15.98 kB / 359.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.1437, allocations: 8 kB / 359.2 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.1439, allocations: 28.86 kB / 359.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.1444, allocations: 160 kB / 359.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.1457, allocations: 1.402 MB / 360.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.1462, allocations: 27.98 kB / 360.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.1463, allocations: 36 kB / 360.8 MB, free: 1.852 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0004158/0.1467, allocations: 257.5 kB / 361.1 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.1468, allocations: 95 kB / 361.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.1476, allocations: 378.4 kB / 361.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1476, allocations: 0 / 361.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1476, allocations: 4 kB / 361.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1476, allocations: 0 / 361.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.1497, allocations: 1.265 MB / 362.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1497, allocations: 3.938 kB / 362.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.15, allocations: 75.89 kB / 362.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.1502, allocations: 24.84 kB / 362.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.1502, allocations: 8 kB / 362.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.1514, allocations: 1.371 MB / 364.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1514, allocations: 160 / 364.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1526, allocations: 0.635 MB / 364.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.1529, allocations: 192.1 kB / 365.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.153, allocations: 8 kB / 365.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.1534, allocations: 23.92 kB / 365.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.1535, allocations: 31.91 kB / 365.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1535, allocations: 16 kB / 365.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000854/0.1543, allocations: 0.5615 MB / 365.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 0 / 365.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007744/0.1551, allocations: 188 kB / 365.9 MB, free: 12.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001467/0.1566, allocations: 1.191 MB / 367.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1577, allocations: 0.5361 MB / 367.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1577, allocations: 7.938 kB / 367.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.1581, allocations: 266.5 kB / 367.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.1593, allocations: 212 kB / 368.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.1703, allocations: 7.609 MB / 375.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.171, allocations: 0.9923 MB / 376.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004201/0.1714, allocations: 102.9 kB / 376.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.1719, allocations: 367.3 kB / 377.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1719, allocations: 0 / 377.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/0.3897, allocations: 17.52 MB / 394.7 MB, free: 47.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.52, allocations: 15.89 kB / 394.7 MB, free: 47.59 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches