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.001147/0.001147, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.00133/0.00133, allocations: 198 kB / 18.07 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.295/1.295, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001086/0.001087, allocations: 47.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0747/0.0758, allocations: 46.63 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008394/0.08423, allocations: 8.008 MB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.08854, allocations: 2.647 MB / 337.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009974/0.0896, allocations: 23.94 kB / 337.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.0912, allocations: 0.4902 MB / 337.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.09262, allocations: 401.2 kB / 338.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.09325, allocations: 227.8 kB / 338.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.09498, allocations: 1.389 MB / 339.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.0958, allocations: 0.4967 MB / 340.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/0.09659, allocations: 0.4977 MB / 340.9 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.09735, allocations: 0.5599 MB / 341.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.09756, allocations: 84 kB / 341.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.09798, allocations: 128 kB / 341.6 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.09818, allocations: 230.9 kB / 341.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006451/0.09883, allocations: 0.6063 MB / 342.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1001, allocations: 1.662 MB / 344.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1001, allocations: 4 kB / 344.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1001, allocations: 3.938 kB / 344.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1002, allocations: 0 / 344.1 MB, free: 3.25 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.002152/0.1023, allocations: 1.449 MB / 345.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1024, allocations: 12.03 kB / 345.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.1025, allocations: 148.4 kB / 345.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006264/0.1031, allocations: 183.4 kB / 345.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009567/0.1041, allocations: 0.7298 MB / 346.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.1042, allocations: 74 kB / 346.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1043, allocations: 96 kB / 346.8 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1057, allocations: 0.9424 MB / 347.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.1057, allocations: 3.906 kB / 347.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.1058, allocations: 44 kB / 347.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.1059, allocations: 24 kB / 347.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.107, allocations: 0.6363 MB / 348.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.1113, allocations: 3.922 MB / 352.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.1119, allocations: 444.5 kB / 352.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.1125, allocations: 253.4 kB / 353.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.1125, allocations: 4.328 kB / 353.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1125, allocations: 38.83 kB / 353.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.1125, allocations: 4 kB / 353.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002342/0.1149, allocations: 1.403 MB / 354.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1149, allocations: 81.11 kB / 354.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.1159, allocations: 0.8291 MB / 355.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1159, allocations: 29.7 kB / 355.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.1163, allocations: 0.5603 MB / 356 MB, free: 6.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1164, allocations: 153.8 kB / 356.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.1166, allocations: 130.5 kB / 356.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1167, allocations: 338 kB / 356.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.117, allocations: 165.9 kB / 356.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.1175, allocations: 456 kB / 357.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/0.1183, allocations: 0.6661 MB / 357.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1183, allocations: 0 / 357.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001187/0.1195, allocations: 0.7666 MB / 358.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1195, allocations: 8 kB / 358.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1196, allocations: 12 kB / 358.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.1198, allocations: 89.86 kB / 358.8 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.1203, allocations: 147.8 kB / 358.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.1224, allocations: 2.876 MB / 361.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.1229, allocations: 35.98 kB / 361.8 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.123, allocations: 32 kB / 361.9 MB, free: 452 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.0003413/0.1233, allocations: 264.2 kB / 362.1 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1234, allocations: 90.88 kB / 362.2 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008566/0.1243, allocations: 484.2 kB / 362.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1243, allocations: 7.938 kB / 362.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1243, allocations: 4 kB / 362.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1243, allocations: 7.922 kB / 362.7 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.1262, allocations: 1.445 MB / 364.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1262, allocations: 0 / 364.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.1265, allocations: 76.11 kB / 364.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.1267, allocations: 73.67 kB / 364.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1268, allocations: 8 kB / 364.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.1287, allocations: 2.852 MB / 367.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1287, allocations: 4.031 kB / 367.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1298, allocations: 0.7651 MB / 367.9 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.13, allocations: 200 kB / 368.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.1301, allocations: 12 kB / 368.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.1305, allocations: 23.98 kB / 368.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.1306, allocations: 44.03 kB / 368.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1307, allocations: 8 kB / 368.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000662/0.1313, allocations: 0.5654 MB / 368.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1313, allocations: 3.938 kB / 368.8 MB, free: 9.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007482/0.1321, allocations: 204 kB / 369 MB, free: 8.891 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.001398/0.1335, allocations: 1.338 MB / 370.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.1345, allocations: 0.6783 MB / 371 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1345, allocations: 4 kB / 371 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.1351, allocations: 438.3 kB / 371.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.1362, allocations: 214.5 kB / 371.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1806/0.3168, allocations: 8.208 MB / 379.8 MB, free: 51.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.3175, allocations: 1.006 MB / 380.8 MB, free: 50.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.318, allocations: 109.8 kB / 380.9 MB, free: 50.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000411/0.3184, allocations: 370.3 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of SimCode: time 1.833e-06/0.3185, allocations: 1.469 kB / 381.3 MB, free: 50.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07817/0.3966, allocations: 18.06 MB / 399.4 MB, free: 42.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.3968, allocations: 248.2 kB / 399.6 MB, free: 42.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.542, allocations: 4 kB / 399.6 MB, free: 42.01 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