Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_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.001015/0.001015, allocations: 92.41 kB / 16.65 MB, free: 6.59 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.001112/0.001112, allocations: 185 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 8 kB / 301.5 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09237, allocations: 50.4 MB / 352 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007459/0.09988, allocations: 7.466 MB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.1041, allocations: 2.533 MB / 362 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005908/0.1048, allocations: 23.94 kB / 362 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.1061, allocations: 0.4903 MB / 362.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009247/0.107, allocations: 393.2 kB / 362.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1074, allocations: 211.8 kB / 363.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1086, allocations: 1.357 MB / 364.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.1093, allocations: 0.4928 MB / 364.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.1098, allocations: 465.7 kB / 365.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.1103, allocations: 0.5013 MB / 365.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.1104, allocations: 64 kB / 365.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.1106, allocations: 99.98 kB / 366 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1108, allocations: 195 kB / 366.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.1112, allocations: 0.5923 MB / 366.8 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.1125, allocations: 1.584 MB / 368.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1125, allocations: 0 / 368.4 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1125, allocations: 4 kB / 368.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1125, allocations: 0 / 368.4 MB, free: 2.824 MB / 302.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.002141/0.1147, allocations: 1.242 MB / 369.6 MB, free: 1.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1147, allocations: 8.031 kB / 369.6 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.1149, allocations: 148.3 kB / 369.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.1154, allocations: 175.4 kB / 370 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.1164, allocations: 0.7142 MB / 370.7 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.1165, allocations: 74 kB / 370.7 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.1166, allocations: 99.91 kB / 370.8 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1697/0.2863, allocations: 0.9247 MB / 371.8 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.2864, allocations: 1.906 kB / 371.8 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.2865, allocations: 42.03 kB / 371.8 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.2866, allocations: 25.41 kB / 371.8 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.288, allocations: 0.6382 MB / 372.5 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.2935, allocations: 3.936 MB / 376.4 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.2941, allocations: 364.1 kB / 376.8 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.2944, allocations: 160.4 kB / 376.9 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.2945, allocations: 4.125 kB / 376.9 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2945, allocations: 37.31 kB / 377 MB, free: 21.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.685e-06/0.2945, allocations: 0 / 377 MB, free: 21.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002288/0.2968, allocations: 1.221 MB / 378.2 MB, free: 20.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2969, allocations: 80.36 kB / 378.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.298, allocations: 0.8273 MB / 379.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.298, allocations: 32.45 kB / 379.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.2984, allocations: 0.569 MB / 379.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.2985, allocations: 134.1 kB / 379.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.2986, allocations: 57.66 kB / 379.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.2986, allocations: 332.7 kB / 380.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.299, allocations: 153.9 kB / 380.4 MB, free: 19.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.2994, allocations: 472.8 kB / 380.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.3002, allocations: 0.6538 MB / 381.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3002, allocations: 7.016 kB / 381.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001228/0.3015, allocations: 0.6995 MB / 382.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3015, allocations: 8.75 kB / 382.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3015, allocations: 9.844 kB / 382.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.3017, allocations: 34.47 kB / 382.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.3022, allocations: 168 kB / 382.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007962/0.303, allocations: 1.292 MB / 383.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.3036, allocations: 40.3 kB / 383.7 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.3036, allocations: 33.06 kB / 383.8 MB, free: 16.5 MB / 302.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.0003691/0.304, allocations: 257.3 kB / 384 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3041, allocations: 90.19 kB / 384.1 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.3049, allocations: 381.1 kB / 384.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3049, allocations: 4.703 kB / 384.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3049, allocations: 5.094 kB / 384.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3049, allocations: 5.391 kB / 384.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.3069, allocations: 1.283 MB / 385.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3069, allocations: 2.562 kB / 385.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.3073, allocations: 76.8 kB / 385.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.801e-05/0.3074, allocations: 23.7 kB / 385.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.3074, allocations: 10.42 kB / 385.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006468/0.3081, allocations: 1.282 MB / 387.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3081, allocations: 4.094 kB / 387.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.3091, allocations: 0.658 MB / 387.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.3093, allocations: 191.4 kB / 388 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.3094, allocations: 13.48 kB / 388 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.3098, allocations: 31.47 kB / 388 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.3099, allocations: 24.56 kB / 388.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3099, allocations: 11.97 kB / 388.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008318/0.3108, allocations: 0.5602 MB / 388.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3108, allocations: 4 kB / 388.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007657/0.3116, allocations: 188.2 kB / 388.8 MB, free: 13.14 MB / 302.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.001253/0.3128, allocations: 1.217 MB / 390 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.3138, allocations: 0.5138 MB / 390.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3138, allocations: 4.906 kB / 390.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.3142, allocations: 280 kB / 390.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.3155, allocations: 197.6 kB / 391 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.3271, allocations: 8.116 MB / 399.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3276, allocations: 0.9955 MB / 400.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.3281, allocations: 101.7 kB / 400.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.3284, allocations: 368.8 kB / 400.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of SimCode: time 1.933e-06/0.3284, allocations: 0 / 400.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3685/0.697, allocations: 16.72 MB / 417.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.6973, allocations: 244.5 kB / 417.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.859, allocations: 0 / 417.6 MB, free: 5.27 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches