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.001144/0.001144, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001163/0.001163, allocations: 187 kB / 18.67 MB, free: 4.402 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.534/1.534, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.00147/0.00147, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09066, allocations: 46.63 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.1886/0.2794, allocations: 8.035 MB / 382.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005284/0.2847, allocations: 2.66 MB / 385.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.2864, allocations: 28.94 kB / 385.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2883, allocations: 0.5845 MB / 386 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.2904, allocations: 498.1 kB / 386.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.2911, allocations: 255.2 kB / 386.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.2928, allocations: 1.475 MB / 388.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.2936, allocations: 0.5803 MB / 388.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.2945, allocations: 0.5546 MB / 389.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.2951, allocations: 0.6029 MB / 389.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.2953, allocations: 138 kB / 390.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.2957, allocations: 179 kB / 390.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2959, allocations: 275.1 kB / 390.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.2964, allocations: 0.6619 MB / 391.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.2986, allocations: 1.729 MB / 392.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.2986, allocations: 3.359 kB / 392.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2986, allocations: 0 / 392.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.754e-05/0.2986, allocations: 0 / 392.9 MB, free: 4.125 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002572/0.3012, allocations: 1.49 MB / 394.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3013, allocations: 9.844 kB / 394.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.3014, allocations: 156.5 kB / 394.5 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/0.3021, allocations: 194 kB / 394.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3033, allocations: 0.7524 MB / 395.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.3034, allocations: 68.97 kB / 395.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3035, allocations: 100.5 kB / 395.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.3051, allocations: 0.9333 MB / 396.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3052, allocations: 7.078 kB / 396.6 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.3052, allocations: 41.25 kB / 396.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3053, allocations: 24.53 kB / 396.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.3064, allocations: 0.6312 MB / 397.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005148/0.3116, allocations: 3.893 MB / 401.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.3123, allocations: 434 kB / 401.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.3129, allocations: 277.5 kB / 401.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.313, allocations: 5.078 kB / 401.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.313, allocations: 39.69 kB / 401.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.313, allocations: 0 / 401.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002896/0.3159, allocations: 1.417 MB / 403.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.316, allocations: 82.61 kB / 403.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3171, allocations: 0.8276 MB / 404.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.3172, allocations: 36.2 kB / 404.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.3176, allocations: 0.5679 MB / 404.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.3177, allocations: 167.4 kB / 405 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3179, allocations: 128.7 kB / 405.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3181, allocations: 335.9 kB / 405.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.3184, allocations: 164.5 kB / 405.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.319, allocations: 463.1 kB / 406.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.3199, allocations: 0.6651 MB / 406.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.3199, allocations: 6.625 kB / 406.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001466/0.3214, allocations: 0.7653 MB / 407.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.3214, allocations: 10.47 kB / 407.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3215, allocations: 13.41 kB / 407.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.3217, allocations: 86.27 kB / 407.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.3222, allocations: 148.4 kB / 407.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.3246, allocations: 3.15 MB / 410.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.3253, allocations: 40.62 kB / 411 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.3254, allocations: 32.44 kB / 411 MB, free: 7.156 MB / 334.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.0004342/0.3258, allocations: 267.8 kB / 411.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.326, allocations: 87.97 kB / 411.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.327, allocations: 0.4892 MB / 411.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.327, allocations: 3.75 kB / 411.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.327, allocations: 1.469 kB / 411.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.327, allocations: 9.203 kB / 411.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.3292, allocations: 1.424 MB / 413.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3293, allocations: 2.75 kB / 413.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.3296, allocations: 77.42 kB / 413.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.3298, allocations: 72.33 kB / 413.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3298, allocations: 8.031 kB / 413.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.3321, allocations: 3.13 MB / 416.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.3321, allocations: 2.344 kB / 416.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3335, allocations: 0.7704 MB / 417.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.3339, allocations: 202.5 kB / 417.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.334, allocations: 12.41 kB / 417.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.3344, allocations: 31.78 kB / 417.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.3345, allocations: 28.47 kB / 417.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3345, allocations: 14.64 kB / 417.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007707/0.3353, allocations: 0.5616 MB / 418.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3353, allocations: 0 / 418.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008905/0.3362, allocations: 205.9 kB / 418.4 MB, free: 1.191 MB / 334.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.001477/0.3377, allocations: 1.352 MB / 419.7 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.3389, allocations: 0.6794 MB / 420.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3389, allocations: 0 / 420.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.3395, allocations: 452.5 kB / 420.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.3407, allocations: 224.8 kB / 421.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.351, allocations: 7.329 MB / 428.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.3516, allocations: 1.008 MB / 429.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.352, allocations: 107.2 kB / 429.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.3524, allocations: 371.3 kB / 429.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3525, allocations: 0 / 429.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/0.4037, allocations: 19.06 MB / 448.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.48, allocations: 7.891 kB / 448.9 MB, free: 3.59 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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_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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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