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.001376/0.001376, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001328/0.001327, allocations: 187 kB / 18.66 MB, free: 4.418 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.47/1.47, 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.001238/0.001238, allocations: 47.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08298, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1729/0.2559, allocations: 7.09 MB / 381.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.2603, allocations: 2.382 MB / 384.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.2613, allocations: 20.66 kB / 384.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.2631, allocations: 0.4958 MB / 384.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2644, allocations: 382.3 kB / 385 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.265, allocations: 207 kB / 385.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.2664, allocations: 1.198 MB / 386.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.2671, allocations: 0.4993 MB / 386.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.2677, allocations: 468 kB / 387.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.2683, allocations: 500 kB / 387.9 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.2685, allocations: 117.5 kB / 388 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.2688, allocations: 151 kB / 388.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.269, allocations: 232.9 kB / 388.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.2694, allocations: 0.5393 MB / 388.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.2711, allocations: 1.437 MB / 390.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2711, allocations: 0 / 390.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2711, allocations: 1.188 kB / 390.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.854e-05/0.2711, allocations: 0 / 390.3 MB, free: 5.723 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.002122/0.2732, allocations: 1.249 MB / 391.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2733, allocations: 9.281 kB / 391.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.2734, allocations: 124 kB / 391.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/0.2739, allocations: 149.5 kB / 391.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.275, allocations: 0.6452 MB / 392.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.275, allocations: 57.84 kB / 392.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.2751, allocations: 91.5 kB / 392.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.2763, allocations: 0.7742 MB / 393.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.2764, allocations: 2.375 kB / 393.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.2765, allocations: 36.42 kB / 393.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2765, allocations: 18.94 kB / 393.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.2775, allocations: 0.5165 MB / 394 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.2816, allocations: 3.372 MB / 397.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.282, allocations: 238.7 kB / 397.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.2823, allocations: 118 kB / 397.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2823, allocations: 3.219 kB / 397.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2823, allocations: 37.23 kB / 397.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 2.454e-06/0.2824, allocations: 1.219 kB / 397.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.002027/0.2844, allocations: 1.044 MB / 398.8 MB, free: 284 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2844, allocations: 81.48 kB / 398.9 MB, free: 188 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2855, allocations: 0.7377 MB / 399.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2855, allocations: 29.7 kB / 399.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.2859, allocations: 0.494 MB / 400.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.286, allocations: 104.2 kB / 400.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2862, allocations: 116.9 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2863, allocations: 381.2 kB / 400.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.2866, allocations: 125.3 kB / 400.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.2871, allocations: 419 kB / 401.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.2878, allocations: 0.5711 MB / 401.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2878, allocations: 7.594 kB / 401.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001049/0.2889, allocations: 0.6135 MB / 402.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.2889, allocations: 12.25 kB / 402.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2889, allocations: 11.98 kB / 402.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.2891, allocations: 27.97 kB / 402.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.2895, allocations: 143.7 kB / 402.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.2906, allocations: 1.389 MB / 404 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.2911, allocations: 36.91 kB / 404.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.2912, allocations: 32.12 kB / 404.1 MB, free: 12.18 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.000335/0.2915, allocations: 239.6 kB / 404.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2916, allocations: 70.28 kB / 404.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.2923, allocations: 318.4 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2923, allocations: 6.656 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2923, allocations: 0 / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2923, allocations: 4.812 kB / 404.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.294, allocations: 1.088 MB / 405.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.294, allocations: 2.922 kB / 405.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.2943, allocations: 63.03 kB / 405.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.2944, allocations: 23.03 kB / 405.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2944, allocations: 8.375 kB / 405.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009887/0.2954, allocations: 1.377 MB / 407.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2954, allocations: 14.31 kB / 407.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/0.2963, allocations: 0.5534 MB / 407.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.2966, allocations: 173.2 kB / 408 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.2967, allocations: 8.375 kB / 408 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.297, allocations: 26.84 kB / 408 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.2971, allocations: 25.58 kB / 408.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.2971, allocations: 12.39 kB / 408.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006812/0.2978, allocations: 0.4981 MB / 408.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2978, allocations: 0 / 408.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007613/0.2986, allocations: 162.3 kB / 408.7 MB, free: 8.734 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.001297/0.2999, allocations: 1.124 MB / 409.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009468/0.3009, allocations: 461.9 kB / 410.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3009, allocations: 5.344 kB / 410.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.3013, allocations: 239.3 kB / 410.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.3022, allocations: 183 kB / 410.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/0.3112, allocations: 6.234 MB / 417 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.3117, allocations: 0.9406 MB / 417.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003715/0.3121, allocations: 90.2 kB / 418 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.3125, allocations: 301.8 kB / 418.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3125, allocations: 0 / 418.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.3549, allocations: 15.65 MB / 433.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.48, allocations: 11.88 kB / 434 MB, free: 2.965 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