Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.001082/0.001082, allocations: 102.5 kB / 17.72 MB, free: 5.371 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.001251/0.001252, allocations: 191 kB / 18.66 MB, free: 4.441 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.261/1.261, 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.001255/0.001255, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.0831, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.1769/0.26, allocations: 7.926 MB / 382.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.2644, allocations: 2.624 MB / 385.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.2656, allocations: 23.47 kB / 385.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.2674, allocations: 0.5598 MB / 385.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.269, allocations: 450.4 kB / 386.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.2697, allocations: 246.9 kB / 386.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.2716, allocations: 1.429 MB / 387.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008936/0.2725, allocations: 0.5914 MB / 388.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.2735, allocations: 0.5414 MB / 389 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.2747, allocations: 0.5849 MB / 389.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.2752, allocations: 135.1 kB / 389.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.276, allocations: 173.1 kB / 389.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2762, allocations: 272.1 kB / 390.2 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.277, allocations: 0.6578 MB / 390.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.2791, allocations: 1.697 MB / 392.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2791, allocations: 0 / 392.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2791, allocations: 0 / 392.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.12e-05/0.2791, allocations: 2.188 kB / 392.5 MB, free: 4.359 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002331/0.2815, allocations: 1.424 MB / 394 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2815, allocations: 9 kB / 394 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.2817, allocations: 156.2 kB / 394.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.2823, allocations: 171 kB / 394.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2835, allocations: 0.7264 MB / 395 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.2835, allocations: 73.03 kB / 395.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2837, allocations: 100.1 kB / 395.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.2852, allocations: 0.919 MB / 396.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.2852, allocations: 6.219 kB / 396.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.2853, allocations: 40.88 kB / 396.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.2853, allocations: 24.38 kB / 396.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2865, allocations: 0.6215 MB / 396.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.2918, allocations: 3.871 MB / 400.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.2924, allocations: 355.5 kB / 401 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.2926, allocations: 146.6 kB / 401.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.2927, allocations: 3.875 kB / 401.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2927, allocations: 40.34 kB / 401.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 4.819e-06/0.2927, allocations: 4 kB / 401.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002566/0.2953, allocations: 1.185 MB / 402.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.2954, allocations: 89.23 kB / 402.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.2965, allocations: 0.8301 MB / 403.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.2966, allocations: 31.67 kB / 403.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.2969, allocations: 0.564 MB / 403.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.821e-05/0.2971, allocations: 131.5 kB / 404 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2972, allocations: 126 kB / 404.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2973, allocations: 336.9 kB / 404.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.2976, allocations: 150.5 kB / 404.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.2981, allocations: 463.2 kB / 405.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.2989, allocations: 0.6327 MB / 405.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.2989, allocations: 2.688 kB / 405.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001223/0.3001, allocations: 0.6968 MB / 406.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3002, allocations: 13.41 kB / 406.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3002, allocations: 9.75 kB / 406.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3004, allocations: 40.22 kB / 406.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.3008, allocations: 155.8 kB / 406.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.3019, allocations: 1.389 MB / 408 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.3025, allocations: 35.42 kB / 408 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.3026, allocations: 35.06 kB / 408.1 MB, free: 9.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0004138/0.303, allocations: 263.6 kB / 408.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3032, allocations: 87.66 kB / 408.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007885/0.304, allocations: 368.9 kB / 408.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.304, allocations: 4.406 kB / 408.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.304, allocations: 0 / 408.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.304, allocations: 5.078 kB / 408.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.306, allocations: 1.265 MB / 410.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.306, allocations: 9.375 kB / 410.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3064, allocations: 71.31 kB / 410.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-05/0.3065, allocations: 24.09 kB / 410.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.3065, allocations: 8.594 kB / 410.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009055/0.3074, allocations: 1.375 MB / 411.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3074, allocations: 2.406 kB / 411.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3085, allocations: 0.629 MB / 412.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.3088, allocations: 192.9 kB / 412.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.309, allocations: 7.312 kB / 412.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.3094, allocations: 29.09 kB / 412.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.3095, allocations: 32.25 kB / 412.4 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3095, allocations: 16.25 kB / 412.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008208/0.3103, allocations: 0.5611 MB / 413 MB, free: 5.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3104, allocations: 0 / 413 MB, free: 5.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000896/0.3113, allocations: 191.6 kB / 413.2 MB, free: 5.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001357/0.3126, allocations: 1.192 MB / 414.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.3136, allocations: 0.5041 MB / 414.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3136, allocations: 3.938 kB / 414.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.314, allocations: 276.9 kB / 415.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3152, allocations: 211.2 kB / 415.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/0.3252, allocations: 7.076 MB / 422.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.3258, allocations: 0.9923 MB / 423.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003811/0.3262, allocations: 98.88 kB / 423.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.3266, allocations: 363.3 kB / 423.9 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3267, allocations: 4 kB / 423.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.3726, allocations: 18.14 MB / 442 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.89, allocations: 15.95 kB / 442.1 MB, free: 10.76 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches