Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.0009003/0.0009004, allocations: 90.97 kB / 17.3 MB, free: 6.027 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.001033/0.001033, allocations: 177.8 kB / 18.21 MB, free: 5.41 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.433/1.433, 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.0004419/0.0004422, allocations: 12 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09082, allocations: 47.57 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007551/0.09841, allocations: 7.522 MB / 336.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1026, allocations: 2.615 MB / 339.2 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.1031, allocations: 23.94 kB / 339.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.1043, allocations: 0.4902 MB / 339.7 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009825/0.1053, allocations: 401.2 kB / 340.1 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1057, allocations: 227.7 kB / 340.3 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.1071, allocations: 1.389 MB / 341.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.1079, allocations: 0.4967 MB / 342.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.1087, allocations: 473.6 kB / 342.7 MB, free: 5.949 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.1093, allocations: 0.513 MB / 343.2 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1094, allocations: 72 kB / 343.3 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.1097, allocations: 104 kB / 343.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1099, allocations: 198.9 kB / 343.6 MB, free: 5.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.1104, allocations: 0.604 MB / 344.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1118, allocations: 1.607 MB / 345.8 MB, free: 2.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1118, allocations: 3.938 kB / 345.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1118, allocations: 0 / 345.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1118, allocations: 0 / 345.8 MB, free: 2.836 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002001/0.1138, allocations: 1.258 MB / 347 MB, free: 1.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1139, allocations: 12.03 kB / 347 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.1141, allocations: 152.4 kB / 347.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/0.1148, allocations: 191.3 kB / 347.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1158, allocations: 0.7259 MB / 348.1 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.1158, allocations: 74 kB / 348.2 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.116, allocations: 99.91 kB / 348.3 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.1176, allocations: 0.9464 MB / 349.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.1177, allocations: 4 kB / 349.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.616e-05/0.1177, allocations: 40 kB / 349.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.1178, allocations: 24 kB / 349.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.119, allocations: 0.6442 MB / 349.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00541/0.1244, allocations: 3.942 MB / 353.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.1252, allocations: 440.6 kB / 354.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.1258, allocations: 261.4 kB / 354.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1258, allocations: 8.312 kB / 354.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1259, allocations: 38.89 kB / 354.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.1259, allocations: 4 kB / 354.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002832/0.1287, allocations: 1.427 MB / 356 MB, free: 8.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1288, allocations: 85.05 kB / 356.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1299, allocations: 0.8252 MB / 356.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1299, allocations: 33.7 kB / 357 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.1304, allocations: 0.5526 MB / 357.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1305, allocations: 157.8 kB / 357.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.1306, allocations: 61.69 kB / 357.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1308, allocations: 330 kB / 358.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.1311, allocations: 177.9 kB / 358.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.1317, allocations: 464 kB / 358.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1328, allocations: 0.674 MB / 359.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.1328, allocations: 4 kB / 359.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001516/0.1343, allocations: 0.7746 MB / 360.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1343, allocations: 8 kB / 360.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.1344, allocations: 8 kB / 360.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.1347, allocations: 89.55 kB / 360.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.1352, allocations: 155.9 kB / 360.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.1377, allocations: 2.88 MB / 363.3 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.1384, allocations: 35.91 kB / 363.3 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.1385, allocations: 35.98 kB / 363.3 MB, free: 172 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005637/0.1391, allocations: 264.3 kB / 363.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.1392, allocations: 86.97 kB / 363.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009546/0.1402, allocations: 0.4955 MB / 364.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1402, allocations: 4 kB / 364.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1402, allocations: 0 / 364.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1402, allocations: 7.922 kB / 364.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.1424, allocations: 1.461 MB / 365.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1424, allocations: 4 kB / 365.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.1427, allocations: 75.83 kB / 365.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.1429, allocations: 69.91 kB / 365.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.143, allocations: 15.98 kB / 365.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.1452, allocations: 2.852 MB / 368.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.1452, allocations: 7.984 kB / 368.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.1465, allocations: 0.773 MB / 369.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.1468, allocations: 196 kB / 369.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.1469, allocations: 15.98 kB / 369.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.1473, allocations: 31.98 kB / 369.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.1474, allocations: 35.89 kB / 369.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.1475, allocations: 12 kB / 369.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007653/0.1482, allocations: 0.5654 MB / 370.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1482, allocations: 0 / 370.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008691/0.1491, allocations: 204 kB / 370.5 MB, free: 8.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.001545/0.1507, allocations: 1.361 MB / 371.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.1518, allocations: 0.686 MB / 372.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1518, allocations: 0 / 372.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.1525, allocations: 450.4 kB / 373 MB, free: 5.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.1537, allocations: 211.5 kB / 373.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1911/0.3449, allocations: 8.312 MB / 381.5 MB, free: 49.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3454, allocations: 1.005 MB / 382.5 MB, free: 48.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004787/0.3459, allocations: 104 kB / 382.6 MB, free: 48.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.3463, allocations: 371.9 kB / 383 MB, free: 48.76 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3463, allocations: 0 / 383 MB, free: 48.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3772, allocations: 17.85 MB / 400.8 MB, free: 40.52 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.3773, allocations: 243.7 kB / 401.1 MB, free: 40.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.523, allocations: 0 / 401.1 MB, free: 40.25 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches