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.001498/0.001498, allocations: 114.4 kB / 17.73 MB, free: 5.355 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.001605/0.001605, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.391/1.391, 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.001658/0.001658, allocations: 63.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08995, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.1773/0.2673, allocations: 7.94 MB / 382.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.272, allocations: 2.624 MB / 385.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2731, allocations: 23.94 kB / 385.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.2747, allocations: 0.5499 MB / 385.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.2761, allocations: 455.6 kB / 386.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.2766, allocations: 244.2 kB / 386.5 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.2781, allocations: 1.439 MB / 387.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006969/0.2788, allocations: 0.5813 MB / 388.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.2795, allocations: 0.5343 MB / 389 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.2801, allocations: 0.581 MB / 389.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.2803, allocations: 135.7 kB / 389.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2807, allocations: 170.4 kB / 389.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2808, allocations: 278.1 kB / 390.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.2814, allocations: 0.6523 MB / 390.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.2833, allocations: 1.7 MB / 392.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2833, allocations: 0 / 392.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2833, allocations: 0 / 392.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.2834, allocations: 1.125 kB / 392.5 MB, free: 4.344 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.00258/0.2859, allocations: 1.459 MB / 394 MB, free: 3.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.286, allocations: 10.25 kB / 394 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.2861, allocations: 154.7 kB / 394.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/0.2867, allocations: 184.4 kB / 394.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2878, allocations: 0.7279 MB / 395.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.2878, allocations: 76.69 kB / 395.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.2879, allocations: 99.61 kB / 395.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.2894, allocations: 0.9212 MB / 396.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.2895, allocations: 6.156 kB / 396.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.2896, allocations: 45.81 kB / 396.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.2896, allocations: 23.78 kB / 396.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.2909, allocations: 0.6184 MB / 396.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.2957, allocations: 3.881 MB / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.2962, allocations: 354.5 kB / 401.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.2965, allocations: 144.7 kB / 401.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.2966, allocations: 2.781 kB / 401.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.2966, allocations: 41 kB / 401.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.2966, allocations: 0 / 401.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002396/0.299, allocations: 1.214 MB / 402.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.2991, allocations: 90.2 kB / 402.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3002, allocations: 0.8259 MB / 403.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3003, allocations: 31.08 kB / 403.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.3007, allocations: 0.574 MB / 404 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3008, allocations: 135.1 kB / 404.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.301, allocations: 132.5 kB / 404.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3012, allocations: 335 kB / 404.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.3015, allocations: 151.6 kB / 404.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.302, allocations: 459.1 kB / 405.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.303, allocations: 0.6317 MB / 405.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.303, allocations: 3.281 kB / 405.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001226/0.3042, allocations: 0.6972 MB / 406.5 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3042, allocations: 13.12 kB / 406.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3043, allocations: 14.75 kB / 406.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.3044, allocations: 32.03 kB / 406.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.3049, allocations: 163.7 kB / 406.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.306, allocations: 1.389 MB / 408.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.3066, allocations: 38.78 kB / 408.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.3067, allocations: 32.16 kB / 408.2 MB, free: 9.477 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.0003764/0.307, allocations: 259.5 kB / 408.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3072, allocations: 91.92 kB / 408.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.3079, allocations: 373.1 kB / 408.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3079, allocations: 7.859 kB / 408.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.308, allocations: 0 / 408.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.308, allocations: 1.344 kB / 408.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.3099, allocations: 1.272 MB / 410.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.3099, allocations: 6.312 kB / 410.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.3103, allocations: 79.05 kB / 410.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/0.3104, allocations: 20.23 kB / 410.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.3104, allocations: 7.531 kB / 410.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3115, allocations: 1.375 MB / 411.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3115, allocations: 6.188 kB / 411.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3125, allocations: 0.6348 MB / 412.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.3128, allocations: 192.9 kB / 412.5 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.3129, allocations: 11.78 kB / 412.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3133, allocations: 28.5 kB / 412.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.3134, allocations: 28.38 kB / 412.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.3134, allocations: 16.06 kB / 412.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007818/0.3142, allocations: 0.5608 MB / 413.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3142, allocations: 0 / 413.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007723/0.315, allocations: 187.8 kB / 413.3 MB, free: 5.523 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.001462/0.3165, allocations: 1.201 MB / 414.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3175, allocations: 0.507 MB / 415 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3175, allocations: 1 kB / 415 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.318, allocations: 267.6 kB / 415.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.319, allocations: 216.8 kB / 415.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.3293, allocations: 7.119 MB / 422.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.33, allocations: 0.9962 MB / 423.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.3304, allocations: 98.88 kB / 423.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.3309, allocations: 371.3 kB / 424.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3309, allocations: 0 / 424.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05411/0.385, allocations: 17.9 MB / 442 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 15.83 kB / 442 MB, free: 10.79 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