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.004213/0.004213, allocations: 114.5 kB / 21.97 MB, free: 5.23 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.001297/0.001297, allocations: 213 kB / 25.27 MB, free: 3.246 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.327/1.327, allocations: 207.6 MB / 236 MB, free: 9.992 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.001735/0.001735, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2574, allocations: 49.16 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007143/0.2646, allocations: 8.009 MB / 405.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.2681, allocations: 2.64 MB / 407.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.2686, allocations: 27.56 kB / 407.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2697, allocations: 0.5867 MB / 408.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.2705, allocations: 491.5 kB / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2708, allocations: 235.1 kB / 409.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.272, allocations: 1.445 MB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.2726, allocations: 404.5 kB / 411 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.2733, allocations: 0.5598 MB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/0.274, allocations: 0.5807 MB / 412.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.2741, allocations: 135.2 kB / 412.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.2744, allocations: 172.1 kB / 412.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.2746, allocations: 271.8 kB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.2752, allocations: 0.6488 MB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.2771, allocations: 1.706 MB / 415 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2771, allocations: 0.9062 kB / 415 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2771, allocations: 0 / 415 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2771, allocations: 0 / 415 MB, free: 13.21 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.002327/0.2795, allocations: 1.393 MB / 416.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2795, allocations: 13.95 kB / 416.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.606e-05/0.2795, allocations: 25.56 kB / 416.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.2797, allocations: 147.3 kB / 416.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.2803, allocations: 176.1 kB / 416.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.2814, allocations: 0.6641 MB / 417.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.2815, allocations: 72.38 kB / 417.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2816, allocations: 101.7 kB / 417.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2831, allocations: 0.9247 MB / 418.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.2831, allocations: 2.281 kB / 418.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.2832, allocations: 41.03 kB / 418.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.2832, allocations: 22.97 kB / 418.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2844, allocations: 0.6258 MB / 419.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004977/0.2894, allocations: 3.773 MB / 423 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.2899, allocations: 253.7 kB / 423.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.2902, allocations: 140.2 kB / 423.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2902, allocations: 7.641 kB / 423.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.2903, allocations: 40.91 kB / 423.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.2903, allocations: 0 / 423.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002242/0.2925, allocations: 1.052 MB / 424.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.2926, allocations: 84.23 kB / 424.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2937, allocations: 0.827 MB / 425.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.2937, allocations: 32.92 kB / 425.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.2941, allocations: 0.5798 MB / 426 MB, free: 5.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2943, allocations: 132.2 kB / 426.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.2944, allocations: 131.2 kB / 426.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2946, allocations: 335 kB / 426.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2949, allocations: 148.8 kB / 426.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.2954, allocations: 461.7 kB / 427.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009264/0.2964, allocations: 0.6389 MB / 427.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2964, allocations: 11.97 kB / 427.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001199/0.2976, allocations: 0.6891 MB / 428.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2976, allocations: 17.44 kB / 428.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2976, allocations: 10.12 kB / 428.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.2978, allocations: 35.44 kB / 428.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.2983, allocations: 159.5 kB / 428.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2995, allocations: 1.287 MB / 430 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.3001, allocations: 40.09 kB / 430.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.3001, allocations: 36 kB / 430.1 MB, free: 1.473 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.0004116/0.3005, allocations: 253.6 kB / 430.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3006, allocations: 87.42 kB / 430.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007491/0.3014, allocations: 370.3 kB / 430.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3014, allocations: 4 kB / 430.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3014, allocations: 4 kB / 430.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3014, allocations: 3.984 kB / 430.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.3034, allocations: 1.246 MB / 432 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3034, allocations: 0 / 432 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.3038, allocations: 71.89 kB / 432.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/0.3038, allocations: 25.08 kB / 432.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3039, allocations: 11.98 kB / 432.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009895/0.3049, allocations: 1.267 MB / 433.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3049, allocations: 7.969 kB / 433.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3059, allocations: 0.6289 MB / 434.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.3061, allocations: 119.4 kB / 434.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/0.3062, allocations: 15.94 kB / 434.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.3066, allocations: 23.97 kB / 434.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.3066, allocations: 31.89 kB / 434.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3067, allocations: 12 kB / 434.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007882/0.3075, allocations: 0.5615 MB / 434.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3075, allocations: 0 / 434.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007014/0.3082, allocations: 192 kB / 435 MB, free: 12.31 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.001404/0.3096, allocations: 1.192 MB / 436.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009695/0.3105, allocations: 495.6 kB / 436.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3105, allocations: 0 / 436.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.3109, allocations: 260 kB / 436.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000998/0.3119, allocations: 220.8 kB / 437.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.3221, allocations: 7.127 MB / 444.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.3228, allocations: 0.9923 MB / 445.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.3231, allocations: 98.88 kB / 445.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.3236, allocations: 371.3 kB / 445.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3236, allocations: 4 kB / 445.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.3735, allocations: 18.53 MB / 464.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.64, allocations: 15.92 kB / 464.3 MB, free: 14.41 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.187486037961207]