Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.001256/0.001256, allocations: 109.2 kB / 17.73 MB, free: 5.316 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.001101/0.001101, allocations: 188.2 kB / 18.66 MB, free: 4.387 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.353/1.353, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001312/0.001312, allocations: 59.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.08241, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1859/0.2683, allocations: 7.914 MB / 382.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.2729, allocations: 2.622 MB / 385.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000994/0.274, allocations: 23.62 kB / 385.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.2755, allocations: 0.5229 MB / 385.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.2767, allocations: 427.5 kB / 386.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2773, allocations: 219.5 kB / 386.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.2788, allocations: 1.228 MB / 387.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.2796, allocations: 0.533 MB / 388.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007312/0.2804, allocations: 482.6 kB / 388.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.2811, allocations: 0.5228 MB / 389.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.2813, allocations: 114.8 kB / 389.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.2817, allocations: 155.9 kB / 389.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.2819, allocations: 231.7 kB / 389.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.2824, allocations: 0.5701 MB / 390.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.2842, allocations: 1.468 MB / 391.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2842, allocations: 0 / 391.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2842, allocations: 0 / 391.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.2842, allocations: 0 / 391.7 MB, free: 4.801 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002021/0.2862, allocations: 1.332 MB / 393 MB, free: 3.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2863, allocations: 10.19 kB / 393 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.2864, allocations: 134.8 kB / 393.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.287, allocations: 154.3 kB / 393.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009376/0.2879, allocations: 0.646 MB / 393.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.288, allocations: 69.25 kB / 394 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2881, allocations: 87.89 kB / 394.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.2894, allocations: 0.823 MB / 394.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.2894, allocations: 3.047 kB / 394.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.2895, allocations: 36 kB / 394.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2895, allocations: 20.75 kB / 395 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2906, allocations: 0.5361 MB / 395.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.2946, allocations: 3.576 MB / 399.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.2952, allocations: 241.9 kB / 399.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.2955, allocations: 124.3 kB / 399.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.2956, allocations: 6.344 kB / 399.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2956, allocations: 33.44 kB / 399.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.033e-06/0.2956, allocations: 0 / 399.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002159/0.2978, allocations: 1.088 MB / 400.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2978, allocations: 85.58 kB / 400.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.2988, allocations: 0.7638 MB / 401.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2988, allocations: 31.08 kB / 401.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.2992, allocations: 0.524 MB / 402 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.2992, allocations: 116.5 kB / 402.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.2994, allocations: 127.4 kB / 402.2 MB, free: 14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2996, allocations: 383.4 kB / 402.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2999, allocations: 127.8 kB / 402.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.3003, allocations: 447 kB / 403.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.3011, allocations: 0.619 MB / 403.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.3011, allocations: 4.125 kB / 403.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001094/0.3022, allocations: 0.6443 MB / 404.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3023, allocations: 13.25 kB / 404.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3023, allocations: 11.47 kB / 404.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.3025, allocations: 34.41 kB / 404.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.303, allocations: 153.9 kB / 404.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.304, allocations: 1.397 MB / 406 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.3046, allocations: 37.42 kB / 406 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.3046, allocations: 36.23 kB / 406.1 MB, free: 10.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.000333/0.305, allocations: 246.4 kB / 406.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3051, allocations: 84.28 kB / 406.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/0.3058, allocations: 331.2 kB / 406.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3058, allocations: 7.281 kB / 406.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3058, allocations: 5.125 kB / 406.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3058, allocations: 2.016 kB / 406.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3076, allocations: 1.116 MB / 407.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3076, allocations: 1.406 kB / 407.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.3079, allocations: 70.08 kB / 407.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.308, allocations: 24.72 kB / 407.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.3081, allocations: 7.281 kB / 408 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.3091, allocations: 1.369 MB / 409.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3091, allocations: 6.172 kB / 409.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3102, allocations: 0.58 MB / 409.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.3105, allocations: 178.4 kB / 410.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.3106, allocations: 7.438 kB / 410.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.311, allocations: 19.36 kB / 410.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3111, allocations: 27.03 kB / 410.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3112, allocations: 11.03 kB / 410.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000844/0.312, allocations: 0.5274 MB / 410.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.312, allocations: 0 / 410.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008996/0.3129, allocations: 166.1 kB / 410.8 MB, free: 7.137 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 (28): * Single equations (assignments): 27 * 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.001272/0.3142, allocations: 1.132 MB / 412 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009998/0.3152, allocations: 486.9 kB / 412.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3152, allocations: 3.188 kB / 412.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.3156, allocations: 245.5 kB / 412.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.3166, allocations: 194.2 kB / 412.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.3252, allocations: 6.523 MB / 419.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.3258, allocations: 0.9509 MB / 420.4 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.3262, allocations: 92.3 kB / 420.4 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.3266, allocations: 317 kB / 420.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3266, allocations: 0 / 420.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/0.3673, allocations: 16.05 MB / 436.8 MB, free: 76 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.75, allocations: 27.83 kB / 436.8 MB, free: 48 kB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches