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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 108.2 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 55.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007557/0.2882, allocations: 7.999 MB / 404.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.2923, allocations: 2.649 MB / 407 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008258/0.2931, allocations: 26.66 kB / 407 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.2945, allocations: 0.582 MB / 407.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2955, allocations: 488.1 kB / 408.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.296, allocations: 244 kB / 408.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.2974, allocations: 1.435 MB / 409.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006666/0.2981, allocations: 400.8 kB / 410.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007863/0.2989, allocations: 0.5617 MB / 410.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.2996, allocations: 0.579 MB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.2998, allocations: 135.9 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.3001, allocations: 171.4 kB / 411.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.3004, allocations: 277.2 kB / 411.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.301, allocations: 0.6464 MB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.303, allocations: 1.709 MB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.303, allocations: 0 / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.303, allocations: 3.938 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.762e-05/0.303, allocations: 0 / 414.2 MB, free: 13.2 MB / 334.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.002601/0.3056, allocations: 1.386 MB / 415.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3057, allocations: 13.42 kB / 415.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.3058, allocations: 147.6 kB / 415.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005936/0.3064, allocations: 180.5 kB / 416 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.3077, allocations: 0.6594 MB / 416.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.3078, allocations: 69.34 kB / 416.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.3079, allocations: 102.4 kB / 416.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.3094, allocations: 0.9269 MB / 417.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.3095, allocations: 6.453 kB / 417.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.3096, allocations: 39.66 kB / 417.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.3096, allocations: 24.88 kB / 417.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.3108, allocations: 0.6245 MB / 418.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005149/0.316, allocations: 3.77 MB / 422.2 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.3165, allocations: 258.1 kB / 422.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.3168, allocations: 136.8 kB / 422.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3168, allocations: 4.125 kB / 422.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3168, allocations: 39.88 kB / 422.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.3168, allocations: 0 / 422.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002212/0.319, allocations: 1.06 MB / 423.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.3191, allocations: 80.67 kB / 423.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3202, allocations: 0.823 MB / 424.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3203, allocations: 35.11 kB / 424.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.3207, allocations: 0.585 MB / 425.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3208, allocations: 128.2 kB / 425.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.321, allocations: 130.5 kB / 425.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3212, allocations: 340.9 kB / 425.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3215, allocations: 146.3 kB / 425.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.3221, allocations: 464.4 kB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.3229, allocations: 0.6377 MB / 427 MB, free: 3.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.323, allocations: 4 kB / 427 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001165/0.3241, allocations: 0.6923 MB / 427.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3241, allocations: 9.844 kB / 427.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3242, allocations: 10.78 kB / 427.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.3243, allocations: 39 kB / 427.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.3248, allocations: 155.2 kB / 427.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3259, allocations: 1.302 MB / 429.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.3264, allocations: 35.94 kB / 429.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.3265, allocations: 32 kB / 429.3 MB, free: 1.527 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.0003602/0.3269, allocations: 257.6 kB / 429.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.327, allocations: 87.42 kB / 429.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.3277, allocations: 370.3 kB / 430 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3277, allocations: 4 kB / 430 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3277, allocations: 4 kB / 430 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3277, allocations: 3.984 kB / 430 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.3297, allocations: 1.238 MB / 431.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3297, allocations: 3.938 kB / 431.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.33, allocations: 72.11 kB / 431.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.547e-05/0.3301, allocations: 24.86 kB / 431.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3301, allocations: 8 kB / 431.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.3312, allocations: 1.271 MB / 432.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3312, allocations: 4.031 kB / 432.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3322, allocations: 0.6328 MB / 433.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.3324, allocations: 119.4 kB / 433.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.3325, allocations: 8 kB / 433.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.3329, allocations: 35.91 kB / 433.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3329, allocations: 27.89 kB / 433.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.333, allocations: 8 kB / 433.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007597/0.3337, allocations: 0.5654 MB / 434 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3337, allocations: 0 / 434 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006949/0.3344, allocations: 188 kB / 434.2 MB, free: 12.37 MB / 350.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.001423/0.3358, allocations: 1.192 MB / 435.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009366/0.3368, allocations: 498.8 kB / 435.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3368, allocations: 1.938 kB / 435.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.3372, allocations: 266.9 kB / 436.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.3382, allocations: 207.4 kB / 436.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.3486, allocations: 7.139 MB / 443.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.3493, allocations: 0.9923 MB / 444.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.3496, allocations: 106.9 kB / 444.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/0.3501, allocations: 367.3 kB / 444.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3501, allocations: 0 / 444.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.4062, allocations: 18.49 MB / 463.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.54, allocations: 11.83 kB / 463.4 MB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.418655374087393]