Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_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.001665/0.001665, allocations: 114.4 kB / 17.73 MB, free: 5.355 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.001656/0.001657, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.446/1.446, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00173/0.00173, allocations: 55.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09187, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1747/0.2666, allocations: 7.091 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.2704, allocations: 2.388 MB / 384.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.2714, allocations: 21.03 kB / 384.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.273, allocations: 0.4888 MB / 384.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.2743, allocations: 379.6 kB / 385 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.2748, allocations: 209.6 kB / 385.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2761, allocations: 1.202 MB / 386.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.2768, allocations: 0.502 MB / 386.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.2775, allocations: 459.1 kB / 387.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.278, allocations: 0.4884 MB / 387.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.2782, allocations: 114.2 kB / 388 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.2785, allocations: 150.3 kB / 388.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2787, allocations: 231.6 kB / 388.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.2792, allocations: 0.545 MB / 388.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.2809, allocations: 1.435 MB / 390.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2809, allocations: 9.188 kB / 390.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.281, allocations: 0 / 390.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.132e-05/0.281, allocations: 0 / 390.3 MB, free: 5.734 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002081/0.2831, allocations: 1.269 MB / 391.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.2831, allocations: 8.969 kB / 391.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.2833, allocations: 134.3 kB / 391.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.2838, allocations: 146.4 kB / 391.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.2848, allocations: 0.6548 MB / 392.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.2849, allocations: 58.16 kB / 392.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.285, allocations: 82.94 kB / 392.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.2863, allocations: 0.7791 MB / 393.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.2864, allocations: 6.141 kB / 393.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.2864, allocations: 36.27 kB / 393.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2865, allocations: 19.19 kB / 393.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.2875, allocations: 0.5203 MB / 394 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.2915, allocations: 3.382 MB / 397.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.2921, allocations: 234.6 kB / 397.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.2923, allocations: 116.8 kB / 397.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2923, allocations: 6.969 kB / 397.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2924, allocations: 37.27 kB / 397.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/0.2924, allocations: 0 / 397.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.002079/0.2945, allocations: 1.059 MB / 398.9 MB, free: 232 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.2945, allocations: 80.25 kB / 398.9 MB, free: 136 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2956, allocations: 0.7363 MB / 399.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.2956, allocations: 31.48 kB / 399.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.296, allocations: 0.506 MB / 400.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.2961, allocations: 111 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2963, allocations: 117.7 kB / 400.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.2965, allocations: 376.1 kB / 400.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.2968, allocations: 127.3 kB / 400.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.2973, allocations: 414.2 kB / 401.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008079/0.2981, allocations: 0.5705 MB / 401.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2981, allocations: 3 kB / 401.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001133/0.2992, allocations: 0.6193 MB / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2993, allocations: 13.56 kB / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.2993, allocations: 9.625 kB / 402.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.2995, allocations: 33.7 kB / 402.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.2999, allocations: 143.8 kB / 402.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.3012, allocations: 1.397 MB / 404.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.3018, allocations: 29.91 kB / 404.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3018, allocations: 31.02 kB / 404.2 MB, free: 12.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003964/0.3022, allocations: 236.3 kB / 404.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3024, allocations: 79 kB / 404.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.3031, allocations: 317.8 kB / 404.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3031, allocations: 8.375 kB / 404.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3031, allocations: 0.9688 kB / 404.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3031, allocations: 1.266 kB / 404.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3049, allocations: 1.095 MB / 405.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.305, allocations: 2.281 kB / 405.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3052, allocations: 62.81 kB / 406 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.055e-05/0.3053, allocations: 24.66 kB / 406 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3054, allocations: 7.469 kB / 406 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.3064, allocations: 1.373 MB / 407.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3064, allocations: 6.375 kB / 407.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.3074, allocations: 0.558 MB / 407.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.3077, allocations: 177.3 kB / 408.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.3078, allocations: 12 kB / 408.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.3081, allocations: 18.42 kB / 408.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.3082, allocations: 30.31 kB / 408.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3082, allocations: 11.53 kB / 408.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007119/0.3089, allocations: 0.5061 MB / 408.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3089, allocations: 1.188 kB / 408.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007398/0.3097, allocations: 157.3 kB / 408.8 MB, free: 8.66 MB / 334.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 (27): * Single equations (assignments): 26 * 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.001324/0.311, allocations: 1.127 MB / 410 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000939/0.312, allocations: 458.4 kB / 410.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.312, allocations: 1.406 kB / 410.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.3124, allocations: 243.8 kB / 410.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.3133, allocations: 181.8 kB / 410.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.3226, allocations: 6.275 MB / 417.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.3232, allocations: 0.9444 MB / 418 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003579/0.3236, allocations: 85.44 kB / 418.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.3241, allocations: 303 kB / 418.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3241, allocations: 0 / 418.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05119/0.3753, allocations: 15.43 MB / 433.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.17, allocations: 11.88 kB / 433.9 MB, free: 3.074 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches