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.004703/0.004703, allocations: 102.8 kB / 21.96 MB, free: 5.203 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.001322/0.001322, allocations: 217.5 kB / 25.26 MB, free: 3.137 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.32/1.32, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.001624/0.001624, allocations: 54.58 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2756, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008221/0.2839, allocations: 6.988 MB / 404.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.2888, allocations: 2.453 MB / 406.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.2901, allocations: 28.25 kB / 406.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.2918, allocations: 0.5242 MB / 407.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.2933, allocations: 493.9 kB / 407.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.2939, allocations: 236.2 kB / 407.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.2958, allocations: 1.436 MB / 409.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.2964, allocations: 404.2 kB / 409.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.2973, allocations: 0.5588 MB / 410.2 MB, free: 448 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.298, allocations: 0.5835 MB / 410.8 MB, free: 120 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.2981, allocations: 135.8 kB / 411 MB, free: 120 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.2985, allocations: 171.6 kB / 411.1 MB, free: 112 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.2988, allocations: 276.1 kB / 411.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.2994, allocations: 0.5277 MB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.3013, allocations: 1.717 MB / 413.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3013, allocations: 0 / 413.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3013, allocations: 4 kB / 413.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3013, allocations: 0 / 413.6 MB, free: 14.52 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.002279/0.3036, allocations: 1.389 MB / 415 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3036, allocations: 14.92 kB / 415 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.22e-05/0.3036, allocations: 25.66 kB / 415.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.3038, allocations: 146.7 kB / 415.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.3043, allocations: 180.5 kB / 415.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3056, allocations: 0.663 MB / 416.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.3056, allocations: 70.22 kB / 416.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3058, allocations: 99.52 kB / 416.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.3074, allocations: 0.9983 MB / 417.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.3075, allocations: 14.17 kB / 417.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.3075, allocations: 36.81 kB / 417.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.3076, allocations: 24.28 kB / 417.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3088, allocations: 0.6247 MB / 417.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.3139, allocations: 3.484 MB / 421.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.3144, allocations: 268.3 kB / 421.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.3147, allocations: 133.3 kB / 421.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.3147, allocations: 4.906 kB / 421.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3148, allocations: 40.34 kB / 421.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.3148, allocations: 0 / 421.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002465/0.3172, allocations: 1.056 MB / 422.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.3173, allocations: 81.67 kB / 423 MB, free: 7.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3185, allocations: 0.826 MB / 423.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3185, allocations: 36.42 kB / 423.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.319, allocations: 0.5812 MB / 424.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3191, allocations: 139.6 kB / 424.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3194, allocations: 127.2 kB / 424.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3195, allocations: 331.8 kB / 425 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3199, allocations: 147.5 kB / 425.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.3205, allocations: 490.1 kB / 425.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3215, allocations: 0.6309 MB / 426.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3215, allocations: 3.562 kB / 426.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001362/0.3229, allocations: 0.6926 MB / 426.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.3229, allocations: 15.91 kB / 427 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.323, allocations: 12.75 kB / 427 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.3231, allocations: 36.84 kB / 427 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.3236, allocations: 163.7 kB / 427.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.3249, allocations: 1.287 MB / 428.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.3255, allocations: 36.09 kB / 428.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.3256, allocations: 36 kB / 428.5 MB, free: 2.812 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.0004425/0.326, allocations: 253.6 kB / 428.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3261, allocations: 87.42 kB / 428.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.3269, allocations: 378.2 kB / 429.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3269, allocations: 4 kB / 429.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3269, allocations: 48 / 429.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3269, allocations: 7.984 kB / 429.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.3289, allocations: 1.156 MB / 430.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3289, allocations: 0 / 430.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.3292, allocations: 72.12 kB / 430.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.511e-05/0.3293, allocations: 28.84 kB / 430.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3294, allocations: 8 kB / 430.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3304, allocations: 1.263 MB / 431.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/0.3304, allocations: 3.938 kB / 431.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.3315, allocations: 0.6407 MB / 432.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.3318, allocations: 115.4 kB / 432.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3319, allocations: 15.94 kB / 432.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.3323, allocations: 19.98 kB / 432.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.3324, allocations: 31.89 kB / 432.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3324, allocations: 12 kB / 432.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008146/0.3332, allocations: 0.5615 MB / 433.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3332, allocations: 0 / 433.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008108/0.334, allocations: 188 kB / 433.3 MB, free: 13.74 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.001517/0.3356, allocations: 1.196 MB / 434.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3367, allocations: 494.9 kB / 435 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3367, allocations: 1.938 kB / 435 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.3371, allocations: 262.9 kB / 435.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3382, allocations: 215.4 kB / 435.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.3492, allocations: 7.123 MB / 442.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.3497, allocations: 409 kB / 443 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000374/0.35, allocations: 102.9 kB / 443.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.3505, allocations: 375.2 kB / 443.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3505, allocations: 0 / 443.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/0.4012, allocations: 19.29 MB / 462.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.84, allocations: 11.98 kB / 462.8 MB, free: 15.66 MB / 382.1 MB " [Timeout remaining time 647] (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.39440624299459]